Class UnauthorizedException

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

Thrown to indicate a requested operation or access to a requested resource is not allowed.
Since:
0.1
See Also:
  • Constructor Details

    • UnauthorizedException

      Creates a new UnauthorizedException.
    • UnauthorizedException

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

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

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