1 |
/* SocketException.java -- An exception occurred while performing a socket op |
/* SocketException.java -- An exception occurred while performing a socket op |
2 |
Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
8 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
9 |
any later version. |
any later version. |
10 |
|
|
11 |
GNU Classpath is distributed in the hope that it will be useful, but |
GNU Classpath is distributed in the hope that it will be useful, but |
12 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
37 |
|
|
38 |
package java.net; |
package java.net; |
39 |
|
|
40 |
/* Written using on-line Java Platform 1.2 API Specification. |
import java.io.IOException; |
|
* Believed complete and correct. |
|
|
*/ |
|
41 |
|
|
42 |
/** |
/** |
43 |
* This exception indicates that a generic error occurred related to an |
* This exception indicates that a generic error occurred related to an |
44 |
* operation on a socket. Check the descriptive message (if any) for |
* operation on a socket. Check the descriptive message (if any) for |
45 |
* details on the nature of this error |
* details on the nature of this error |
46 |
* |
* |
47 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @author Aaron M. Renn <arenn@urbanophile.com> |
48 |
* @author Per Bothner |
* @author Per Bothner |
49 |
* @date January 6, 1999. |
* @status updated to 1.4 |
|
*/ |
|
|
public class SocketException extends java.io.IOException |
|
|
{ |
|
|
|
|
|
/* |
|
|
* Constructors |
|
50 |
*/ |
*/ |
51 |
|
public class SocketException extends IOException |
|
/** |
|
|
* Initializes a new instance of <code>SocketException</code> without |
|
|
* a descriptive error message. |
|
|
*/ |
|
|
public |
|
|
SocketException() |
|
52 |
{ |
{ |
53 |
super(); |
/** |
54 |
} |
* Compatible with JDK 1.0+. |
55 |
|
*/ |
56 |
/*************************************************************************/ |
private static final long serialVersionUID = -5935874303556886934L; |
57 |
|
|
58 |
/** |
/** |
59 |
* Initializes a new instance of <code>SocketException</code> without |
* Create a new instance without a descriptive error message. |
60 |
* a descriptive error message. |
*/ |
61 |
* |
public SocketException() |
62 |
* @param message A message describing the error that occurred. |
{ |
63 |
*/ |
} |
64 |
public |
|
65 |
SocketException(String message) |
/** |
66 |
{ |
* Create a new instance with a descriptive error message. |
67 |
super(message); |
* |
68 |
} |
* @param message a message describing the error that occurred |
69 |
|
*/ |
70 |
|
public SocketException(String message) |
71 |
|
{ |
72 |
|
super(message); |
73 |
|
} |
74 |
} // class SocketException |
} // class SocketException |
|
|
|