KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > directory > AttributeInUseException


1 /*
2  * @(#)AttributeInUseException.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
8 package javax.naming.directory;
9
10 import javax.naming.NamingException JavaDoc;
11
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.7 03/12/19
22   *
23   * @see DirContext#modifyAttributes
24   * @since 1.3
25   */

26 public class AttributeInUseException extends NamingException JavaDoc {
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 JavaDoc explanation) {
35     super(explanation);
36     }
37
38     /**
39       * Constructs a new instance of AttributeInUseException.
40       * All fields are initialized to null.
41       */

42     public AttributeInUseException() {
43     super();
44     }
45
46     /**
47      * Use serialVersionUID from JNDI 1.1.1 for interoperability
48      */

49     private static final long serialVersionUID = 4437710305529322564L;
50 }
51
Popular Tags