KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > NameNotFoundException


1 /*
2  * @(#)NameNotFoundException.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;
9
10 /**
11   * This exception is thrown when a component of the name cannot be resolved
12   * because it is not bound.
13   * <p>
14   * Synchronization and serialization issues that apply to NamingException
15   * apply directly here.
16   *
17   * @author Rosanna Lee
18   * @author Scott Seligman
19   * @version 1.7 03/12/19
20   * @since 1.3
21   */

22   
23 public class NameNotFoundException extends NamingException JavaDoc {
24     /**
25      * Constructs a new instance of NameNotFoundException using the
26      * explanation supplied. All other fields default to null.
27      *
28      * @param explanation Possibly null additional detail about
29      * this exception.
30      * @see java.lang.Throwable#getMessage
31      */

32     public NameNotFoundException(String JavaDoc explanation) {
33     super(explanation);
34     }
35
36     /**
37       * Constructs a new instance of NameNotFoundException.
38       * all name resolution fields and explanation initialized to null.
39       */

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

47     private static final long serialVersionUID = -8007156725367842053L;
48 }
49
Popular Tags