Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ SyscallException() [2/3]

Ice::SyscallException::SyscallException ( const char * file,
int line,
std::string messagePrefix,
ErrorCode error,
const std::function< std::string(ErrorCode)> & errorToString )
protected

Constructs a SyscallException.

Parameters
fileThe file where this exception is constructed. This C string is not copied.
lineThe line where this exception is constructed.
messagePrefixThe start of the message returned by what().
errorThe error code.
errorToStringA function that converts the error code to a string.