Class PermissionDeniedException

All Implemented Interfaces:
Serializable

public class PermissionDeniedException extends UserException
The exception that is thrown when a client is not allowed to create a session.
See Also:
  • Field Details

    • reason

      public String reason
      The reason why permission was denied.
  • Constructor Details

    • PermissionDeniedException

      public PermissionDeniedException()
      Constructs a PermissionDeniedException.
    • PermissionDeniedException

      public PermissionDeniedException(String reason)
      Constructs a PermissionDeniedException with values for all its fields.
      Parameters:
      reason - The reason why permission was denied.
  • Method Details

    • ice_id

      public String ice_id()
      Returns the type id of this exception.
      Specified by:
      ice_id in class UserException
      Returns:
      The type id of this exception.