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