KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > net > SocketException


1 /*
2  * @(#)SocketException.java 1.17 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.net;
9
10 import java.io.IOException JavaDoc;
11
12 /**
13  * Thrown to indicate that there is an error in the underlying
14  * protocol, such as a TCP error.
15  *
16  * @author Jonathan Payne
17  * @version 1.17, 12/19/03
18  * @since JDK1.0
19  */

20 public
21 class SocketException extends IOException JavaDoc {
22     /**
23      * Constructs a new <code>SocketException</code> with the
24      * specified detail message.
25      *
26      * @param msg the detail message.
27      */

28     public SocketException(String JavaDoc msg) {
29     super(msg);
30     }
31
32     /**
33      * Constructs a new <code>SocketException</code> with no detail message.
34      */

35     public SocketException() {
36     }
37 }
38
Popular Tags