Class AuthorizationException

All Implemented Interfaces:
Serializable

public class AuthorizationException extends SecurityException
A request or a token is not authorized: for example a token that cannot be read, or that is issued for more than one Context.

It takes the place of org.gcube.common.authorization.library.exception.AuthorizationException of common-authorization.

Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • AuthorizationException

      public AuthorizationException(String message)
      Creates the exception with a detail message.
      Parameters:
      message - the detail message
    • AuthorizationException

      public AuthorizationException(String message, Throwable cause)
      Creates the exception with a detail message and a cause.
      Parameters:
      message - the detail message
      cause - the cause
    • AuthorizationException

      public AuthorizationException(Throwable cause)
      Creates the exception with a cause.
      Parameters:
      cause - the cause