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 boolean
Indicates 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
- indicates whether the connection was closed by the application
-
-
Method Details
-
ice_id
Description copied from class:LocalException
Returns the type ID of this exception.- Overrides:
ice_id
in classLocalException
- Returns:
- the type ID of this exception
-