KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > ServiceUnavailableException


1 /*
2  * @(#)ServiceUnavailableException.java 1.8 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 attempting to communicate with a
12   * directory or naming service and that service is not available.
13   * It might be unavailable for different reasons. For example,
14   * the server might be too busy to service the request, or the server
15   * might not be registered to service any requests, etc.
16   * <p>
17   * Synchronization and serialization issues that apply to NamingException
18   * apply directly here.
19   *
20   * @author Rosanna Lee
21   * @author Scott Seligman
22   *
23   * @version 1.8 03/12/19
24   * @since 1.3
25   */

26
27 public class ServiceUnavailableException extends NamingException JavaDoc {
28     /**
29      * Constructs a new instance of ServiceUnavailableException using an
30      * explanation. All other fields default to null.
31      *
32      * @param explanation Possibly null additional detail about this exception.
33      * @see java.lang.Throwable#getMessage
34      */

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

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

50     private static final long serialVersionUID = -4996964726566773444L;
51 }
52
Popular Tags