| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | java.security.PrivilegedActionException | ||
PrivilegedActionException wraps exceptions which are thrown from
within privileged operations.
Privileged actions which can throw exceptions are of type PrivilegedExceptionAction and are thrown by
AccessController#doPrivileged(PrivilegedExceptionAction)AccessController#doPrivileged(PrivilegedExceptionAction,
AccessControlContext)
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
PrivilegedActionException with the
cause. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the exception that was thrown by a
PrivilegedExceptionAction. | |||||||||||
Returns the exception that was thrown by a
PrivilegedExceptionAction. | |||||||||||
Returns a string containing a concise, human-readable description of this
PrivilegedActionException. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Throwable
| |||||||||||
From class java.lang.Object
| |||||||||||
Constructs a new instance of PrivilegedActionException with the
cause.
| ex | the exception which is the cause for this exception. |
|---|
Returns the exception that was thrown by a
PrivilegedExceptionAction.
PrivilegedExceptionAction.
Returns the exception that was thrown by a
PrivilegedExceptionAction.
PrivilegedExceptionAction.
Returns a string containing a concise, human-readable description of this
PrivilegedActionException.
PrivilegedActionException.