Package org.apache.shiro.authz
Class AuthorizationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.authz.AuthorizationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnauthenticatedException
,UnauthorizedException
public class AuthorizationException extends org.apache.shiro.ShiroException
Exception thrown if there is a problem during authorization (access control check).- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizationException()
Creates 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 Detail
-
AuthorizationException
public AuthorizationException()
Creates a new AuthorizationException.
-
AuthorizationException
public AuthorizationException(String message)
Constructs a new AuthorizationException.- Parameters:
message
- the reason for the exception
-
AuthorizationException
public AuthorizationException(Throwable cause)
Constructs a new AuthorizationException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-