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.
Remarks:
The Slice compiler generated this exception class from Slice exception ::Glacier2::CannotCreateSessionException.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aCannotCreateSessionException.CannotCreateSessionException(String reason) Constructs aCannotCreateSessionExceptionwith values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.UserException
toStringMethods 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 aCannotCreateSessionExceptionwith values for all its fields.- Parameters:
reason- The reason why the session creation failed.
-
-
Method Details
-
ice_id
Returns the Slice type ID of this user exception.- Specified by:
ice_idin classUserException- Returns:
- the Slice type ID
-