KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > rmi > UnknownHostException


1 /*
2  * @(#)UnknownHostException.java 1.13 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 java.rmi;
9
10 /**
11  * An <code>UnknownHostException</code> is thrown if a
12  * <code>java.net.UnknownHostException</code> occurs while creating
13  * a connection to the remote host for a remote method call.
14  *
15  * @version 1.13, 12/19/03
16  * @since JDK1.1
17  */

18 public class UnknownHostException extends RemoteException JavaDoc {
19
20     /* indicate compatibility with JDK 1.1.x version of class */
21      private static final long serialVersionUID = -8152710247442114228L;
22
23     /**
24      * Constructs an <code>UnknownHostException</code> with the specified
25      * detail message.
26      *
27      * @param s the detail message
28      * @since JDK1.1
29      */

30     public UnknownHostException(String JavaDoc s) {
31     super(s);
32     }
33
34     /**
35      * Constructs an <code>UnknownHostException</code> with the specified
36      * detail message and nested exception.
37      *
38      * @param s the detail message
39      * @param ex the nested exception
40      * @since JDK1.1
41      */

42     public UnknownHostException(String JavaDoc s, Exception JavaDoc ex) {
43     super(s, ex);
44     }
45 }
46
Popular Tags