KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > SizeLimitExceededException


1 /*
2  * @(#)SizeLimitExceededException.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
9 package javax.naming;
10
11 import javax.naming.Name JavaDoc;
12
13 /**
14   * This exception is thrown when a method
15   * produces a result that exceeds a size-related limit.
16   * This can happen, for example, if the result contains
17   * more objects than the user requested, or when the size
18   * of the result exceeds some implementation-specific limit.
19   * <p>
20   * Synchronization and serialization issues that apply to NamingException
21   * apply directly here.
22   *
23   * @author Rosanna Lee
24   * @author Scott Seligman
25   *
26   * @version 1.7 03/12/19
27   * @since 1.3
28   */

29 public class SizeLimitExceededException extends LimitExceededException JavaDoc {
30     /**
31      * Constructs a new instance of SizeLimitExceededException.
32      * All fields default to null.
33      */

34     public SizeLimitExceededException() {
35     super();
36     }
37
38     /**
39      * Constructs a new instance of SizeLimitExceededException using an
40      * explanation. All other fields default to null.
41      *
42      * @param explanation Possibly null detail about this exception.
43      */

44     public SizeLimitExceededException(String JavaDoc explanation) {
45     super(explanation);
46     }
47
48     /**
49      * Use serialVersionUID from JNDI 1.1.1 for interoperability
50      */

51     private static final long serialVersionUID = 7129289564879168579L;
52 }
53
Popular Tags