}
password = std::string(buffer);
} else {
- throwError(string("could not read password for ") + descr);
+ Exception::throwError(SE_HERE, string("could not read password for ") + descr);
}
return password;
void CmdlineSyncClient::readStdin(string &content)
{
if (!ReadFile(cin, content)) {
- throwError("stdin", errno);
+ Exception::throwError(SE_HERE, "stdin", errno);
}
}