Class AuthorizationFailureException

    • Constructor Detail

      • AuthorizationFailureException

        public AuthorizationFailureException​(String msg,
                                             Principal authorizationPrincipal)
        Constructs a new AuthorizationFailureException instance with an initial message. No cause is specified.
        Parameters:
        msg - the message
        authorizationPrincipal - the principal being authorized
      • AuthorizationFailureException

        public AuthorizationFailureException​(String msg,
                                             Throwable cause,
                                             Principal authorizationPrincipal)
        Constructs a new AuthorizationFailureException instance with an initial message and cause.
        Parameters:
        msg - the message
        cause - the cause
        authorizationPrincipal - the principal being authorized