home *** CD-ROM | disk | FTP | other *** search
- package java.security;
-
- import java.io.PrintStream;
- import java.io.PrintWriter;
-
- public class PrivilegedActionException extends Exception {
- private static final long serialVersionUID = 4724086851538908602L;
- private Exception exception;
-
- public PrivilegedActionException(Exception var1) {
- this.exception = var1;
- }
-
- public Exception getException() {
- return this.exception;
- }
-
- public void printStackTrace() {
- this.printStackTrace(System.err);
- }
-
- public void printStackTrace(PrintStream var1) {
- synchronized(var1) {
- if (this.exception != null) {
- var1.print("java.security.PrivilegedActionException: ");
- this.exception.printStackTrace(var1);
- } else {
- super.printStackTrace(var1);
- }
-
- }
- }
-
- public void printStackTrace(PrintWriter var1) {
- synchronized(var1) {
- if (this.exception != null) {
- var1.print("java.security.PrivilegedActionException: ");
- this.exception.printStackTrace(var1);
- } else {
- super.printStackTrace(var1);
- }
-
- }
- }
-
- public String toString() {
- return this.getClass().getName() + " <<" + this.exception.toString() + ">>";
- }
- }
-