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

◆ DispatchException()

Ice::DispatchException::DispatchException ( const char * file,
int line,
ReplyStatus replyStatus,
std::optional< std::string > message = std::nullopt )

Constructs a DispatchException.

Parameters
fileThe file where this exception is constructed. This C string is not copied.
lineThe line where this exception is constructed.
replyStatusThe reply status. It must be greater than ReplyStatus::UserException.
messageThe error message. If nullopt, this constructor creates a default message.