Package org.apache.hadoop.security
Class AccessControlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.security.AccessControlException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthorizationException
An exception class for access control related issues.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor is needed for unwrapping fromRemoteException.Constructs anAccessControlExceptionwith the specified detail message.AccessControlException(Throwable cause) Constructs a new exception with the specified cause and a detail message of(cause==null ? -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AccessControlException
public AccessControlException()Default constructor is needed for unwrapping fromRemoteException. -
AccessControlException
Constructs anAccessControlExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
AccessControlException
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.)
-