org.springframework.security.access
Class AuthorizationServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.access.AccessDeniedException
org.springframework.security.access.AuthorizationServiceException
- All Implemented Interfaces:
- java.io.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(java.lang.String msg)
Constructs an AuthorizationServiceException with the
specified message. |
AuthorizationServiceException(java.lang.String msg,
java.lang.Throwable t)
Constructs an AuthorizationServiceException with the
specified message and root cause. |
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 |
AuthorizationServiceException
public AuthorizationServiceException(java.lang.String msg)
- Constructs an
AuthorizationServiceException
with the
specified message.
- Parameters:
msg
- the detail message
AuthorizationServiceException
public AuthorizationServiceException(java.lang.String msg,
java.lang.Throwable t)
- Constructs an
AuthorizationServiceException
with the
specified message and root cause.
- Parameters:
msg
- the detail messaget
- root cause