java.lang.Object
java.lang.Throwable
java.lang.Exception
com.zeroc.Ice.UserException
com.zeroc.Glacier2.CannotCreateSessionException
- All Implemented Interfaces:
Serializable
The exception that is thrown when an attempt to create a new session fails.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aCannotCreateSessionException
.CannotCreateSessionException
(String reason) Constructs aCannotCreateSessionException
with values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.UserException
toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
reason
The reason why the session creation failed.
-
-
Constructor Details
-
CannotCreateSessionException
public CannotCreateSessionException()Constructs aCannotCreateSessionException
. -
CannotCreateSessionException
Constructs aCannotCreateSessionException
with values for all its fields.- Parameters:
reason
- The reason why the session creation failed.
-
-
Method Details
-
ice_id
Returns the type id of this exception.- Specified by:
ice_id
in classUserException
- Returns:
- The type id of this exception.
-