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

  1. /*
  2.  * @(#)NoSuchObjectException.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>NoSuchObjectException</code> is thrown if an attempt is made to
  19.  * invoke a method on an object that no longer exists in the remote virtual
  20.  * machine.  If a <code>NoSuchObjectException</code> occurs attempting to
  21.  * invoke a method on a remote object, the call may be retransmitted and still
  22.  * preserve RMI's "at most once" call semantics.
  23.  *
  24.  * A <code>NoSuchObjectException</code> is also thrown by the method
  25.  * <code>java.rmi.server.RemoteObject.toStub</code> and by the
  26.  * <code>unexportObject</code> methods of
  27.  * <code>java.rmi.server.UnicastRemoteObject</code> and
  28.  * <code>java.rmi.activation.Activatable</code> and
  29.  * 
  30.  * @version 1.7, 09/21/98
  31.  * @author  Ann Wollrath
  32.  * @since   JDK1.1
  33.  * @see     java.rmi.server.RemoteObject#toStub(Remote)
  34.  * @see     java.rmi.server.UnicastRemoteObject#unexportObject(Remote,boolean)
  35.  * @see     java.rmi.activation.Activatable#unexportObject(Remote,boolean)
  36.  */
  37. public class NoSuchObjectException extends RemoteException {
  38.  
  39.     /* indicate compatibility with JDK 1.1.x version of class */
  40.     private static final long serialVersionUID = 6619395951570472985L;
  41.  
  42.     /**
  43.      * Constructs a <code>NoSuchObjectException</code> with the specified
  44.      * detail message.
  45.      *
  46.      * @param s the detail message
  47.      * @since   JDK1.1
  48.      */
  49.     public NoSuchObjectException(String s) {
  50.     super(s);
  51.     }
  52. }
  53.