java.security
public class PrivilegedActionException extends Exception
AccessController.doPrivileged() method.  It wraps the
 actual exception thrown in the privileged code.
See Also: PrivilegedExceptionAction doPrivileged AccessController
UNKNOWN: updated to 1.4
| Constructor Summary | |
|---|---|
| PrivilegedActionException(Exception e) 
 Create a new instance that wraps the specified  Exception. | |
| Method Summary | |
|---|---|
| Throwable | getCause() 
 Gets the cause of this exception.
 | 
| Exception | getException() 
 Get the underlying  Exceptionthat caused this one. | 
| String | toString() 
 Convert this to a String.
 | 
Exception.
Parameters: e the Exception to wrap 
Returns: the cause
Since: 1.4
Exception that caused this one. This
 is a legacy method, the preferred way is {@link #getCause()}.
Returns: the cause
Returns: the string representation