KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > rmi > ConnectIOException


1 /*
2  * @(#)ConnectIOException.java 1.12 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  * A <code>ConnectIOException</code> is thrown if an
12  * <code>IOException</code> occurs while making a connection
13  * to the remote host for a remote method call.
14  *
15  * @version 1.12, 12/19/03
16  * @author Ann Wollrath
17  * @since JDK1.1
18  */

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

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

44     public ConnectIOException(String JavaDoc s, Exception JavaDoc ex) {
45     super(s, ex);
46     }
47 }
48
Popular Tags