@InterfaceAudience.Public @InterfaceStability.Evolving public class AccessControlException extends IOException
Constructor and Description |
---|
AccessControlException()
Default constructor is needed for unwrapping from
RemoteException . |
AccessControlException(String s)
Constructs an
AccessControlException
with the specified detail message. |
AccessControlException(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 ). |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccessControlException()
RemoteException
.public AccessControlException(String s)
AccessControlException
with the specified detail message.s
- the detail message.public AccessControlException(Throwable cause)
(cause==null ? null : cause.toString())
(which
typically contains the class and detail message of 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.)Copyright © 2024 Apache Software Foundation. All rights reserved.