@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, toString
public 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 Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
Copyright © 2021 Apache Software Foundation. All rights reserved.