Class AuthorizationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.lang.ShiroException
org.apache.shiro.authz.AuthorizationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnauthenticatedException, UnauthorizedException

public class AuthorizationException extends org.apache.shiro.lang.ShiroException
Exception thrown if there is a problem during authorization (access control check).
Since:
0.1
See Also:
  • Constructor Details

    • AuthorizationException

      Creates a new AuthorizationException.
    • AuthorizationException

      public AuthorizationException(String message)
      Constructs a new AuthorizationException.
      Parameters:
      message - the reason for the exception
    • AuthorizationException

      Constructs a new AuthorizationException.
      Parameters:
      cause - the underlying Throwable that caused this exception to be thrown.
    • AuthorizationException

      public AuthorizationException(String message, Throwable cause)
      Constructs a new AuthorizationException.
      Parameters:
      message - the reason for the exception
      cause - the underlying Throwable that caused this exception to be thrown.