1. /*
  2. * @(#)NotBoundException.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>NotBoundException</code> is thrown if an attempt
  10. * is made to lookup or unbind in the registry a name that has
  11. * no associated binding.
  12. *
  13. * @version 1.8, 11/29/01
  14. * @since JDK1.1
  15. * @author Ann Wollrath
  16. * @author Roger Riggs
  17. * @see java.rmi.Naming#lookup(String)
  18. * @see java.rmi.Naming#unbind(String)
  19. * @see java.rmi.registry.Registry#lookup(String)
  20. * @see java.rmi.registry.Registry#unbind(String)
  21. */
  22. public class NotBoundException extends java.lang.Exception {
  23. /* indicate compatibility with JDK 1.1.x version of class */
  24. private static final long serialVersionUID = -1857741824849069317L;
  25. /**
  26. * Constructs a <code>NotBoundException</code> with no
  27. * specified detail message.
  28. * @since JDK1.1
  29. */
  30. public NotBoundException() {
  31. super();
  32. }
  33. /**
  34. * Constructs a <code>NotBoundException</code> with the specified
  35. * detail message.
  36. *
  37. * @param s the detail message
  38. * @since JDK1.1
  39. */
  40. public NotBoundException(String s) {
  41. super(s);
  42. }
  43. }