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

◆ ConnectFailedException() [2/3]

Ice::ConnectFailedException::ConnectFailedException ( const char * file,
int line,
ErrorCode error,
std::optional< std::string > address = std::nullopt )
inline

Constructs a ConnectFailedException with a generic message and an error code.

Parameters
fileThe file where this exception is constructed. This C string is not copied.
lineThe line where this exception is constructed.
errorThe error code.
addressThe address of the remote peer, if available.

Definition at line 502 of file LocalExceptions.h.