home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / rt.jar / java / rmi / RemoteException.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-04-23  |  914 b   |  24 lines

  1. package java.rmi;
  2.  
  3. import java.io.IOException;
  4.  
  5. public class RemoteException extends IOException {
  6.    public Throwable detail;
  7.  
  8.    public RemoteException() {
  9.    }
  10.  
  11.    public RemoteException(String var1) {
  12.       super(var1);
  13.    }
  14.  
  15.    public RemoteException(String var1, Throwable var2) {
  16.       super(var1);
  17.       this.detail = var2;
  18.    }
  19.  
  20.    public String getMessage() {
  21.       return this.detail == null ? super.getMessage() : super.getMessage() + "; nested exception is: \n\t" + this.detail.toString();
  22.    }
  23. }
  24.