KickJava   Java API By Example, From Geeks To Geeks.

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


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
8 package javax.naming.directory;
9
10 import javax.naming.NamingException JavaDoc;
11
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.7 03/12/19
22   * @since 1.3
23   */

24
25 public class NoSuchAttributeException extends NamingException JavaDoc {
26     /**
27      * Constructs a new instance of NoSuchAttributeException using
28      * an explanation. All other fields are set to null.
29      * @param explanation Additional detail about this exception. Can be null.
30      * @see java.lang.Throwable#getMessage
31      */

32     public NoSuchAttributeException(String JavaDoc explanation) {
33     super(explanation);
34     }
35
36
37     /**
38      * Constructs a new instance of NoSuchAttributeException.
39      * All fields are initialized to null.
40      */

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

48     private static final long serialVersionUID = 4836415647935888137L;
49 }
50
Popular Tags