This exception is raised by an operation call if the application closes the connection locally using Connection#close.
More...
#include <Ice/Ice.h>
|
static const ::std::string & | ice_staticId () |
| Obtains the Slice type ID of this exception. More...
|
|
|
bool | graceful |
| True if the connection was closed gracefully, false otherwise. More...
|
|
This exception is raised by an operation call if the application closes the connection locally using Connection#close.
- See also
- Connection::close
◆ ~ConnectionManuallyClosedException()
virtual Ice::ConnectionManuallyClosedException::~ConnectionManuallyClosedException |
( |
| ) |
|
|
virtual |
◆ ConnectionManuallyClosedException() [1/3]
◆ ConnectionManuallyClosedException() [2/3]
Ice::ConnectionManuallyClosedException::ConnectionManuallyClosedException |
( |
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
inline |
The file and line number are required for all local exceptions.
- Parameters
-
file | The file name in which the exception was raised, typically __FILE__. |
line | The line number at which the exception was raised, typically __LINE__. |
◆ ConnectionManuallyClosedException() [3/3]
Ice::ConnectionManuallyClosedException::ConnectionManuallyClosedException |
( |
const char * |
file, |
|
|
int |
line, |
|
|
bool |
graceful |
|
) |
| |
|
inline |
One-shot constructor to initialize all data members.
The file and line number are required for all local exceptions.
- Parameters
-
file | The file name in which the exception was raised, typically __FILE__. |
line | The line number at which the exception was raised, typically __LINE__. |
graceful | True if the connection was closed gracefully, false otherwise. |
◆ ice_print()
virtual void Ice::ConnectionManuallyClosedException::ice_print |
( |
::std::ostream & |
stream | ) |
const |
|
overridevirtual |
Prints this exception to the given stream.
- Parameters
-
◆ ice_staticId()
static const ::std::string& Ice::ConnectionManuallyClosedException::ice_staticId |
( |
| ) |
|
|
static |
Obtains the Slice type ID of this exception.
- Returns
- The fully-scoped type ID.
◆ ice_tuple()
std::tuple<const bool&> Ice::ConnectionManuallyClosedException::ice_tuple |
( |
| ) |
const |
|
inline |
Obtains a tuple containing all of the exception's data members.
- Returns
- The data members in a tuple.
◆ graceful
bool Ice::ConnectionManuallyClosedException::graceful |
True if the connection was closed gracefully, false otherwise.
The documentation for this class was generated from the following file: