Package org.apache.shiro.authz
Class AuthorizationException
-
-
-
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.authz.AuthorizationException
-
-
-
-
- All Implemented Interfaces:
- 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.message)
Constructs a new AuthorizationException.message, cause)
Constructs a new AuthorizationException.cause)
Constructs a new AuthorizationException.
-
-
-
Constructor Detail
-
AuthorizationException
public AuthorizationException()
Creates a new AuthorizationException.
-
AuthorizationException
public AuthorizationException( message)
Constructs a new AuthorizationException.- Parameters:
message
- the reason for the exception
-
AuthorizationException
public AuthorizationException( cause)
Constructs a new AuthorizationException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
AuthorizationException
public AuthorizationException( message, cause)
Constructs a new AuthorizationException.- Parameters:
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.
-
-