Class 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

      Constructors 
      Constructor Description
      AuthorizationServiceException​(java.lang.String msg)
      Constructs an AuthorizationServiceException with the specified message.
      AuthorizationServiceException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs an AuthorizationServiceException with the specified message and root cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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​(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 cause)
        Constructs an AuthorizationServiceException with the specified message and root cause.
        Parameters:
        msg - the detail message
        cause - root cause