org.apache.shiro.authz
Class AuthorizationException

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

public class AuthorizationException
extends ShiroException

Exception thrown if there is a problem during authorization (access control check).

Since:
0.1
See Also:
Serialized Form

Constructor Summary
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.

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.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.