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