1. /*
  2. * @(#)NoSuchAttributeException.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.directory;
  11. import javax.naming.NamingException;
  12. /**
  13. * This exception is thrown when attempting to access
  14. * an attribute that does not exist.
  15. * <p>
  16. * Synchronization and serialization issues that apply to NamingException
  17. * apply directly here.
  18. *
  19. * @author Rosanna Lee
  20. * @author Scott Seligman
  21. * @version 1.4 00/02/02
  22. * @since 1.3
  23. */
  24. public class NoSuchAttributeException extends NamingException {
  25. /**
  26. * Constructs a new instance of NoSuchAttributeException using
  27. * an explanation. All other fields are set to null.
  28. * @param explanation Additional detail about this exception. Can be null.
  29. * @see java.lang.Throwable#getMessage
  30. */
  31. public NoSuchAttributeException(String explanation) {
  32. super(explanation);
  33. }
  34. /**
  35. * Constructs a new instance of NoSuchAttributeException.
  36. * All fields are initialized to null.
  37. */
  38. public NoSuchAttributeException() {
  39. super();
  40. }
  41. /**
  42. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  43. */
  44. private static final long serialVersionUID = 4836415647935888137L;
  45. }