home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / Java2 / src / java / rmi / ServerRuntimeException.java < prev    next >
Encoding:
Java Source  |  1999-05-28  |  1.5 KB  |  47 lines  |  [TEXT/CWIE]

  1. /*
  2.  * @(#)ServerRuntimeException.java    1.8 98/09/21
  3.  *
  4.  * Copyright 1996-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.rmi;
  16.  
  17. /**
  18.  * A <code>ServerRuntimeException</code> is thrown as a result of a remote
  19.  * method call if the execution of the remote method on the server machine
  20.  * throws a <code>java.lang.RuntimeException</code>.
  21.  * A <code>ServerRuntimeException</code> is not thrown from servers executing
  22.  * in JDK1.2 or later versions.
  23.  * 
  24.  * @version 1.8, 09/21/98
  25.  * @author  Ann Wollrath
  26.  * @since   JDK1.1
  27.  * @deprecated no replacement
  28.  */
  29. public class ServerRuntimeException extends RemoteException {
  30.  
  31.     /* indicate compatibility with JDK 1.1.x version of class */
  32.     private static final long serialVersionUID = 7054464920481467219L;
  33.  
  34.     /**
  35.      * Constructs a <code>ServerRuntimeException</code> with the specified
  36.      * detail message and nested exception.
  37.      *
  38.      * @param s the detail message
  39.      * @param ex the nested exception
  40.      * @deprecated no replacement
  41.      * @since JDK1.1
  42.      */
  43.     public ServerRuntimeException(String s, Exception ex) {
  44.     super(s, ex);
  45.     }
  46. }
  47.