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 / StubNotFoundException.java < prev    next >
Encoding:
Java Source  |  1999-05-28  |  1.9 KB  |  60 lines  |  [TEXT/CWIE]

  1. /*
  2.  * @(#)StubNotFoundException.java    1.7 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>StubNotFoundException</code> is thrown if a valid stub class
  19.  * could not be found for a remote object when it is exported or when
  20.  * a remote object is passed in a remote method call as a parameter or
  21.  * return value.  A <code>StubNotFoundException</code> may also be
  22.  * thrown when an activatable object is registered via the
  23.  * <code>java.rmi.activation.Activatable.register</code> method.
  24.  * 
  25.  * @version 1.7, 09/21/98
  26.  * @author  Roger Riggs
  27.  * @since   JDK1.1
  28.  * @see        java.rmi.server.UnicastRemoteObject
  29.  * @see     java.rmi.activation.Activatable
  30.  */
  31. public class StubNotFoundException extends RemoteException {
  32.  
  33.     /* indicate compatibility with JDK 1.1.x version of class */
  34.     private static final long serialVersionUID = -7088199405468872373L;
  35.  
  36.     /**
  37.      * Constructs a <code>StubNotFoundException</code> with the specified
  38.      * detail message and nested exception.
  39.      *
  40.      * @param s the detail message
  41.      * @param ex the nested exception
  42.      * @since JDK1.1
  43.      */
  44.     public StubNotFoundException(String s) {
  45.     super(s);
  46.     }
  47.  
  48.     /**
  49.      * Constructs a <code>StubNotFoundException</code> with the specified
  50.      * detail message and nested exception.
  51.      *
  52.      * @param s the detail message
  53.      * @param ex the nested exception
  54.      * @since JDK1.1
  55.      */
  56.     public StubNotFoundException(String s, Exception ex) {
  57.     super(s, ex);
  58.     }
  59. }
  60.