java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.LocalException
com.zeroc.Ice.ConnectionClosedException
- All Implemented Interfaces:
Serializable
The exception that is thrown when an operation fails because the connection has been closed gracefully.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanIndicates whether the connection was closed by the application. -
Constructor Summary
ConstructorsConstructorDescriptionConnectionClosedException(String message, boolean closedByApplication) Constructs a ConnectionClosedException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
closedByApplication
public final boolean closedByApplicationIndicates whether the connection was closed by the application.
-
-
Constructor Details
-
ConnectionClosedException
Constructs a ConnectionClosedException.- Parameters:
message- the detail messageclosedByApplication-trueif the connection was closed by the application,falseif the connection was closed by the Ice runtime.
-
-
Method Details
-
ice_id
Description copied from class:LocalExceptionReturns the type ID of this exception.- Overrides:
ice_idin classLocalException- Returns:
- the type ID of this exception
-