KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > PartialResultException


1 /*
2  * @(#)PartialResultException.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 to indicate that the result being returned
12   * or returned so far is partial, and that the operation cannot
13   * be completed. For example, when listing a context, this exception
14   * indicates that returned results only represents some of the bindings
15   * in the context.
16   * <p>
17   * Synchronization and serialization issues that apply to NamingException
18   * apply directly here.
19   *
20   * @author Rosanna Lee
21   * @version 1.7 03/12/19
22   * @author Scott Seligman
23   * @since 1.3
24   */

25
26 public class PartialResultException extends NamingException JavaDoc {
27     /**
28       * Constructs a new instance of the exception using the explanation
29       * message specified. All other fields default to null.
30       *
31       * @param explanation Possibly null detail explaining the exception.
32       */

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

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

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