KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jnlp > UnavailableServiceException


1 /*
2  * @(#)UnavailableServiceException.java 1.10 04/03/12
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.jnlp;
9
10 /**
11  * The <code>UnavailableServiceException</code> is thrown by the
12  * <code>ServiceManager</code> when a non-existing or unavailable service
13  * is looked up.
14  *
15  * @since 1.0
16  *
17  * @see ServiceManager
18  */

19 public class UnavailableServiceException extends Exception {
20     
21     /**
22      * Constructs an <code>UnavailableServiceException</code> with <code>null</code>
23      * as its error detail message.
24      */

25     public UnavailableServiceException() {
26     super();
27     }
28     
29     /**
30      * Constructs an <code>UnavailableServiceException</code> with the specified detail
31      * message. The error message string <code>s</code> can later be
32      * retrieved by the <code>{@link java.lang.Throwable#getMessage}</code>
33      * method of class <code>java.lang.Throwable</code>.
34      *
35      * @param msg the detail message.
36      */

37     public UnavailableServiceException(String msg) {
38     super(msg);
39     }
40 }
41
Popular Tags