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 / java / rmi / server / ServerCloneException.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-07-08  |  889 b   |  19 lines

  1. package java.rmi.server;
  2.  
  3. public class ServerCloneException extends CloneNotSupportedException {
  4.    public Exception detail;
  5.  
  6.    public ServerCloneException(String var1) {
  7.       super(var1);
  8.    }
  9.  
  10.    public ServerCloneException(String var1, Exception var2) {
  11.       super(var1);
  12.       this.detail = var2;
  13.    }
  14.  
  15.    public String getMessage() {
  16.       return this.detail == null ? super.getMessage() : super.getMessage() + "; nested exception is: \n\t" + this.detail.toString();
  17.    }
  18. }
  19.