java.lang.Object
java.lang.Throwable
java.lang.Exception
com.zeroc.Ice.UserException
com.zeroc.Glacier2.PermissionDeniedException
- All Implemented Interfaces:
Serializable
The exception that is thrown when a client is not allowed to create a session.
Remarks:
The Slice compiler generated this exception class from Slice exception ::Glacier2::PermissionDeniedException.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aPermissionDeniedException.PermissionDeniedException(String reason) Constructs aPermissionDeniedExceptionwith 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 permission was denied.
-
-
Constructor Details
-
PermissionDeniedException
public PermissionDeniedException()Constructs aPermissionDeniedException. -
PermissionDeniedException
Constructs aPermissionDeniedExceptionwith values for all its fields.- Parameters:
reason- The reason why permission was denied.
-
-
Method Details
-
ice_id
Returns the Slice type ID of this user exception.- Specified by:
ice_idin classUserException- Returns:
- the Slice type ID
-