1. /*
  2. * @(#)NameNotFoundException.java 1.4 00/02/02
  3. *
  4. * Copyright 1999, 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 javax.naming;
  11. /**
  12. * This exception is thrown when a component of the name cannot be resolved
  13. * because it is not bound.
  14. * <p>
  15. * Synchronization and serialization issues that apply to NamingException
  16. * apply directly here.
  17. *
  18. * @author Rosanna Lee
  19. * @author Scott Seligman
  20. * @version 1.4 00/02/02
  21. * @since 1.3
  22. */
  23. public class NameNotFoundException extends NamingException {
  24. /**
  25. * Constructs a new instance of NameNotFoundException using the
  26. * explanation supplied. All other fields default to null.
  27. *
  28. * @param explanation Possibly null additional detail about
  29. * this exception.
  30. * @see java.lang.Throwable#getMessage
  31. */
  32. public NameNotFoundException(String explanation) {
  33. super(explanation);
  34. }
  35. /**
  36. * Constructs a new instance of NameNotFoundException.
  37. * all name resolution fields and explanation initialized to null.
  38. */
  39. public NameNotFoundException() {
  40. super();
  41. }
  42. /**
  43. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  44. */
  45. private static final long serialVersionUID = -8007156725367842053L;
  46. }