KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > MalformedLinkException


1 /*
2  * @(#)MalformedLinkException.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 malformed link was encountered while
12   * resolving or constructing a link.
13   * <p>
14   * Synchronization and serialization issues that apply to LinkException
15   * apply directly here.
16   *
17   * @author Rosanna Lee
18   * @author Scott Seligman
19   * @version 1.7 03/12/19
20   *
21   * @see LinkRef#getLinkName
22   * @see LinkRef
23   * @since 1.3
24   */

25
26 public class MalformedLinkException extends LinkException JavaDoc {
27     /**
28       * Constructs a new instance of MalformedLinkException with an explanation
29       * All the other fields are initialized to null.
30       * @param explanation A possibly null string containing additional
31       * detail about this exception.
32       */

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

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

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