1 |
/* IOException.java -- Generic input/output exception |
/* IOException.java -- Generic input/output exception |
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 |
38 |
|
|
39 |
package java.io; |
package java.io; |
40 |
|
|
|
/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 |
|
|
* "The Java Language Specification", ISBN 0-201-63451-1 |
|
|
* Status: Complete to 1.1. |
|
|
*/ |
|
|
|
|
41 |
/** |
/** |
42 |
* This exception is thrown to indicate an I/O problem of some sort |
* This exception is thrown to indicate an I/O problem of some sort |
43 |
* occurred. Since this is a fairly generic exception, often a subclass |
* occurred. Since this is a fairly generic exception, often a subclass |
44 |
* of IOException will actually be thrown in order to provide a more |
* of IOException will actually be thrown in order to provide a more |
45 |
* detailed indication of what happened. |
* detailed indication of what happened. |
46 |
* |
* |
|
* @version 0.0 |
|
|
* |
|
47 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @author Aaron M. Renn (arenn@urbanophile.com) |
48 |
* @author Tom Tromey <tromey@cygnus.com> |
* @author Tom Tromey <tromey@cygnus.com> |
49 |
* @date September 24, 1998 |
* @status updated to 1.4 |
50 |
*/ |
*/ |
51 |
public class IOException extends Exception |
public class IOException extends Exception |
52 |
{ |
{ |
53 |
|
/** |
54 |
/* |
* Compatible with JDK 1.0+. |
55 |
* Constructors |
*/ |
56 |
*/ |
private static final long serialVersionUID = 7818375828146090155L; |
57 |
|
|
58 |
/** |
/** |
59 |
* Create a new IOException without a descriptive error message |
* Create an exception without a descriptive error message. |
60 |
*/ |
*/ |
61 |
public |
public IOException() |
62 |
IOException() |
{ |
63 |
{ |
} |
64 |
super(); |
|
65 |
} |
/** |
66 |
|
* Create an exception with a descriptive error message. |
67 |
/*************************************************************************/ |
* |
68 |
|
* @param message the descriptive error message |
69 |
/** |
*/ |
70 |
* Create a new IOException with a descriptive error message String |
public IOException(String message) |
71 |
* |
{ |
72 |
* @param message The descriptive error message |
super(message); |
73 |
*/ |
} |
|
public |
|
|
IOException(String message) |
|
|
{ |
|
|
super(message); |
|
|
} |
|
|
|
|
74 |
} // class IOException |
} // class IOException |
|
|
|