1 /* 2 * @(#)NoSuchObjectException.java 1.12 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package java.rmi; 9 10 /** 11 * A <code>NoSuchObjectException</code> is thrown if an attempt is made to 12 * invoke a method on an object that no longer exists in the remote virtual 13 * machine. If a <code>NoSuchObjectException</code> occurs attempting to 14 * invoke a method on a remote object, the call may be retransmitted and still 15 * preserve RMI's "at most once" call semantics. 16 * 17 * A <code>NoSuchObjectException</code> is also thrown by the method 18 * <code>java.rmi.server.RemoteObject.toStub</code> and by the 19 * <code>unexportObject</code> methods of 20 * <code>java.rmi.server.UnicastRemoteObject</code> and 21 * <code>java.rmi.activation.Activatable</code> and 22 * 23 * @version 1.12, 12/19/03 24 * @author Ann Wollrath 25 * @since JDK1.1 26 * @see java.rmi.server.RemoteObject#toStub(Remote) 27 * @see java.rmi.server.UnicastRemoteObject#unexportObject(Remote,boolean) 28 * @see java.rmi.activation.Activatable#unexportObject(Remote,boolean) 29 */ 30 public class NoSuchObjectException extends RemoteException { 31 32 /* indicate compatibility with JDK 1.1.x version of class */ 33 private static final long serialVersionUID = 6619395951570472985L; 34 35 /** 36 * Constructs a <code>NoSuchObjectException</code> with the specified 37 * detail message. 38 * 39 * @param s the detail message 40 * @since JDK1.1 41 */ 42 public NoSuchObjectException(String s) { 43 super(s); 44 } 45 } 46