home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 January / PCO0198.ISO / browser / net_linx / scd10.jar / sun / tools / java / CompilerError.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-11-03  |  519 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.