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