KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > TimeLimitExceededException


1 /*
2  * @(#)TimeLimitExceededException.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  * does not terminate within the specified time limit.
16  * This can happen, for example, if the user specifies that
17  * the method should take no longer than 10 seconds, and the
18  * method fails to complete with 10 seconds.
19  *
20  * <p> Synchronization and serialization issues that apply to NamingException
21  * apply directly here.
22  *
23  * @author Rosanna Lee
24  * @author Scott Seligman
25  * @version 1.7 03/12/19
26  *
27  * @since 1.3
28  */

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

34     public TimeLimitExceededException() {
35     super();
36     }
37
38     /**
39      * Constructs a new instance of TimeLimitExceededException
40      * using the argument supplied.
41      * @param explanation possibly null detail about this exception.
42      * @see java.lang.Throwable#getMessage
43      */

44     public TimeLimitExceededException(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 = -3597009011385034696L;
52 }
53
Popular Tags