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