1 |
/* ProtocolException.java -- A low level protocol error occurred |
/* ProtocolException.java -- a low level protocol error occurred |
2 |
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2000, 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 |
/** |
import java.io.IOException; |
|
* Written using on-line Java Platform 1.2 API Specification, as well |
|
|
* as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998). |
|
|
* Status: Believed complete and correct. |
|
|
*/ |
|
41 |
|
|
42 |
/** |
/** |
43 |
* This exception indicates that some sort of low level protocol |
* This exception indicates that some sort of low level protocol |
44 |
* exception occurred. Look in the descriptive message (if any) for |
* exception occurred. Look in the descriptive message (if any) for |
45 |
* details on what went wrong |
* details on what went wrong. |
46 |
* |
* |
47 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @author Aaron M. Renn <arenn@urbanophile.com> |
48 |
* @author Warren Levy <warrenl@cygnus.com> |
* @author Warren Levy <warrenl@cygnus.com> |
49 |
* @date March 5, 1999. |
* @status updated to 1.4 |
|
*/ |
|
|
public class ProtocolException extends java.io.IOException |
|
|
{ |
|
|
|
|
|
/* |
|
|
* Constructors |
|
50 |
*/ |
*/ |
51 |
|
public class ProtocolException extends IOException |
|
/** |
|
|
* Initializes a new instance of <code>ProtocolException</code> |
|
|
* without a descriptive error message. |
|
|
*/ |
|
|
public |
|
|
ProtocolException() |
|
52 |
{ |
{ |
53 |
super(); |
/** |
54 |
} |
* Compatible with JDK 1.0+. |
55 |
|
*/ |
56 |
/*************************************************************************/ |
private static final long serialVersionUID = -6098449442062388080L; |
57 |
|
|
58 |
/** |
/** |
59 |
* Initializes a new instance of <code>ProtocolException</code> |
* Create a new instance without a descriptive error message. |
60 |
* with a descriptive error message. |
*/ |
61 |
* |
public ProtocolException() |
62 |
* @param message A message describing the error that occurred. |
{ |
63 |
*/ |
} |
64 |
public |
|
65 |
ProtocolException(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 ProtocolException(String message) |
71 |
|
{ |
72 |
|
super(message); |
73 |
|
} |
74 |
} // class ProtocolException |
} // class ProtocolException |
|
|
|