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