home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / java / security / PrivilegedActionException.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  847 b   |  25 lines

  1. package java.security;
  2.  
  3. public class PrivilegedActionException extends Exception {
  4.    private static final long serialVersionUID = 4724086851538908602L;
  5.    private Exception exception;
  6.  
  7.    public PrivilegedActionException(Exception var1) {
  8.       super((Throwable)null);
  9.       this.exception = var1;
  10.    }
  11.  
  12.    public Exception getException() {
  13.       return this.exception;
  14.    }
  15.  
  16.    public Throwable getCause() {
  17.       return this.exception;
  18.    }
  19.  
  20.    public String toString() {
  21.       String var1 = this.getClass().getName();
  22.       return this.exception != null ? var1 + ": " + this.exception.toString() : var1;
  23.    }
  24. }
  25.