KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > LinkLoopException


1 /*
2  * @(#)LinkLoopException.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
12   * a loop was detected will attempting to resolve a link, or an implementation
13   * specific limit on link counts has been reached.
14   * <p>
15   * Synchronization and serialization issues that apply to LinkException
16   * apply directly here.
17   *
18   * @author Rosanna Lee
19   * @author Scott Seligman
20   * @version 1.7 03/12/19
21   *
22   * @see LinkRef
23   * @since 1.3
24   */

25
26 public class LinkLoopException extends LinkException JavaDoc {
27     /**
28       * Constructs a new instance of LinkLoopException 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       * @see java.lang.Throwable#getMessage
33       */

34     public LinkLoopException(String JavaDoc explanation) {
35     super(explanation);
36     }
37
38     /**
39       * Constructs a new instance of LinkLoopException.
40       * All the non-link-related and link-related fields are initialized to null.
41       */

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

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