1. /*
  2. * @(#)AttributeInUseException.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 an operation attempts
  14. * to add an attribute that already exists.
  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. *
  23. * @see DirContext#modifyAttributes
  24. * @since 1.3
  25. */
  26. public class AttributeInUseException extends NamingException {
  27. /**
  28. * Constructs a new instance of AttributeInUseException with
  29. * an explanation. All other fields are set to null.
  30. *
  31. * @param explanation Possibly null additional detail about this exception.
  32. * @see java.lang.Throwable#getMessage
  33. */
  34. public AttributeInUseException(String explanation) {
  35. super(explanation);
  36. }
  37. /**
  38. * Constructs a new instance of AttributeInUseException.
  39. * All fields are initialized to null.
  40. */
  41. public AttributeInUseException() {
  42. super();
  43. }
  44. /**
  45. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  46. */
  47. private static final long serialVersionUID = 4437710305529322564L;
  48. }