The exception that is thrown when an established connection is lost. More...
#include <Ice/Ice.h>
Public Member Functions | |
ConnectionLostException (const char *file, int line, ErrorCode error) | |
Constructs a ConnectionLostException. | |
const char * | ice_id () const noexcept final |
Returns the type ID of this exception. | |
Public Member Functions inherited from Ice::SocketException | |
SocketException (const char *file, int line, ErrorCode error) | |
Constructs a SocketException with a generic message. | |
SocketException (const char *file, int line, std::string message) | |
Constructs a SocketException without an error. | |
SocketException (const char *file, int line, std::string messagePrefix, ErrorCode error) | |
Constructs a SocketException. | |
const char * | ice_id () const noexcept override |
Returns the type ID of this exception. | |
Public Member Functions inherited from Ice::SyscallException | |
SyscallException (const char *file, int line, std::string messagePrefix, ErrorCode error) | |
Constructs a SyscallException. | |
ErrorCode | error () const noexcept |
Gets the error number describing the system exception. | |
const char * | ice_id () const noexcept override |
Returns the type ID of this exception. | |
Public Member Functions inherited from Ice::LocalException | |
LocalException (const char *file, int line, std::string message) | |
Constructs a local exception. | |
const char * | ice_file () const noexcept |
Gets the name of the file where this exception was constructed. | |
int | ice_line () const noexcept |
Gets the line number where this exception was constructed. | |
void | ice_print (std::ostream &os) const final |
Outputs a description of this exception to a stream. | |
std::string | ice_stackTrace () const |
Gets the stack trace at the point this exception was constructed. | |
const char * | what () const noexcept final |
Gets the error message of this local Ice exception. | |
Public Member Functions inherited from Ice::Exception | |
Exception () noexcept=default | |
Default constructor. | |
Exception (const Exception &other) noexcept=default | |
Copy constructor. | |
Exception & | operator= (const Exception &rhs) noexcept=default |
Copy assignment operator. |
Additional Inherited Members | |
Public Types inherited from Ice::SyscallException | |
using | ErrorCode = int |
The error code is a DWORD (unsigned long) on Windows and an int on other platforms. | |
Static Public Member Functions inherited from Ice::LocalException | |
static void | ice_enableStackTraceCollection () |
Enables the collection of stack traces for exceptions. | |
Protected Member Functions inherited from Ice::SocketException | |
SyscallException (const char *file, int line, std::string message) | |
Constructs a SyscallException without an error. | |
SyscallException (const char *file, int line, std::string messagePrefix, ErrorCode error) | |
Constructs a SyscallException. | |
SyscallException (const char *file, int line, std::string messagePrefix, ErrorCode error, const std::function< std::string(ErrorCode)> &errorToString) | |
Constructs a SyscallException. | |
Protected Member Functions inherited from Ice::SyscallException | |
SyscallException (const char *file, int line, std::string message) | |
Constructs a SyscallException without an error. | |
SyscallException (const char *file, int line, std::string messagePrefix, ErrorCode error, const std::function< std::string(ErrorCode)> &errorToString) | |
Constructs a SyscallException. |
The exception that is thrown when an established connection is lost.
Definition at line 491 of file LocalExceptions.h.