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
Exception thrown if there is a problem during authorization (access control check).
- Since:
- 0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new AuthorizationException.AuthorizationException(String message) Constructs a new AuthorizationException.AuthorizationException(String message, Throwable cause) Constructs a new AuthorizationException.AuthorizationException(Throwable cause) Constructs a new AuthorizationException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthorizationException
public AuthorizationException()Creates a new AuthorizationException. -
AuthorizationException
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
Constructs a new AuthorizationException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-