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

◆ throwException()

virtual void Ice::Connection::throwException ( ) const
pure virtual

Throws an exception that provides the reason for the closure of this connection.

For example, this function throw CloseConnectionException when the connection was closed gracefully by the peer; it throws ConnectionAbortedException when the connection is aborted with abort. This function does nothing if the connection is not yet closed.