org.springframework.security.access
Class AuthorizationServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.security.access.AccessDeniedException
                  extended by org.springframework.security.access.AuthorizationServiceException
All Implemented Interfaces:
Serializable

public class AuthorizationServiceException
extends AccessDeniedException

Thrown if an authorization request could not be processed due to a system problem.

This might be thrown if an AccessDecisionManager implementation could not locate a required method argument, for example.

See Also:
Serialized Form

Constructor Summary
AuthorizationServiceException(String msg)
          Constructs an AuthorizationServiceException with the specified message.
AuthorizationServiceException(String msg, Throwable t)
          Constructs an AuthorizationServiceException with the specified message and root cause.
 
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

AuthorizationServiceException

public AuthorizationServiceException(String msg)
Constructs an AuthorizationServiceException with the specified message.

Parameters:
msg - the detail message

AuthorizationServiceException

public AuthorizationServiceException(String msg,
                                     Throwable t)
Constructs an AuthorizationServiceException with the specified message and root cause.

Parameters:
msg - the detail message
t - root cause