Class AuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.security.AccessControlException
org.apache.hadoop.security.authorize.AuthorizationException
- All Implemented Interfaces:
Serializable
An exception class for authorization-related issues.
This class does not provide the stack trace for security purposes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationException(String message) AuthorizationException(Throwable cause) Constructs a new exception with the specified cause and a detail message of(cause==null ? -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
AuthorizationException
public AuthorizationException() -
AuthorizationException
-
AuthorizationException
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 ofcause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Details
-
getStackTrace
- Overrides:
getStackTracein classThrowable
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-