@InterfaceAudience.Public @InterfaceStability.Evolving public class AuthorizationException extends AccessControlException
| Constructor and Description |
|---|
AuthorizationException() |
AuthorizationException(String message) |
AuthorizationException(Throwable cause)
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
|
| Modifier and Type | Method and Description |
|---|---|
StackTraceElement[] |
getStackTrace() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, setStackTrace, toStringpublic AuthorizationException()
public AuthorizationException(String message)
public AuthorizationException(Throwable cause)
cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public StackTraceElement[] getStackTrace()
getStackTrace in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace in class ThrowableCopyright © 2008–2022 Apache Software Foundation. All rights reserved.