home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VPage / Java.bin / CLASSES.ZIP / sun / tools / java / CompilerError.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-07-08  |  605 b   |  25 lines

  1. package sun.tools.java;
  2.  
  3. public class CompilerError extends Error {
  4.    // $FF: renamed from: e java.lang.Throwable
  5.    Throwable field_0;
  6.  
  7.    public CompilerError(String var1) {
  8.       super(var1);
  9.       this.field_0 = this;
  10.    }
  11.  
  12.    public CompilerError(Exception var1) {
  13.       super(((Throwable)var1).getMessage());
  14.       this.field_0 = var1;
  15.    }
  16.  
  17.    public void printStackTrace() {
  18.       if (this.field_0 == this) {
  19.          super.printStackTrace();
  20.       } else {
  21.          this.field_0.printStackTrace();
  22.       }
  23.    }
  24. }
  25.