public class AuthorizationFailureException extends AuthorizationException
Constructor and Description |
---|
AuthorizationFailureException(String msg,
Principal authorizationPrincipal)
Constructs a new
AuthorizationFailureException instance with an initial message. |
AuthorizationFailureException(String msg,
Throwable cause,
Principal authorizationPrincipal)
Constructs a new
AuthorizationFailureException instance with an initial message and cause. |
getAuthorizationPrincipal
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthorizationFailureException(String msg, Principal authorizationPrincipal)
AuthorizationFailureException
instance with an initial message. No cause is specified.msg
- the messageauthorizationPrincipal
- the principal being authorizedpublic AuthorizationFailureException(String msg, Throwable cause, Principal authorizationPrincipal)
AuthorizationFailureException
instance with an initial message and cause.msg
- the messagecause
- the causeauthorizationPrincipal
- the principal being authorizedCopyright © 2020 JBoss by Red Hat. All rights reserved.