1. /*
  2. * @(#)NoSuchAttributeException.java 1.7 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.naming.directory;
  8. import javax.naming.NamingException;
  9. /**
  10. * This exception is thrown when attempting to access
  11. * an attribute that does not exist.
  12. * <p>
  13. * Synchronization and serialization issues that apply to NamingException
  14. * apply directly here.
  15. *
  16. * @author Rosanna Lee
  17. * @author Scott Seligman
  18. * @version 1.7 03/12/19
  19. * @since 1.3
  20. */
  21. public class NoSuchAttributeException extends NamingException {
  22. /**
  23. * Constructs a new instance of NoSuchAttributeException using
  24. * an explanation. All other fields are set to null.
  25. * @param explanation Additional detail about this exception. Can be null.
  26. * @see java.lang.Throwable#getMessage
  27. */
  28. public NoSuchAttributeException(String explanation) {
  29. super(explanation);
  30. }
  31. /**
  32. * Constructs a new instance of NoSuchAttributeException.
  33. * All fields are initialized to null.
  34. */
  35. public NoSuchAttributeException() {
  36. super();
  37. }
  38. /**
  39. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  40. */
  41. private static final long serialVersionUID = 4836415647935888137L;
  42. }