1 |
/* UnknownServiceException.java -- A service error occurred |
/* UnknownServiceException.java -- A service 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 |
* Contrary to what you might think, this does not indicate that the |
* Contrary to what you might think, this does not indicate that the |
44 |
* TCP/IP service name specified was invalid. Instead it indicates that |
* TCP/IP service name specified was invalid. Instead it indicates that |
45 |
* the MIME type returned from a URL could not be determined or that an |
* the MIME type returned from a URL could not be determined or that an |
46 |
* attempt was made to write to a read-only URL. |
* attempt was made to write to a read-only URL. |
47 |
* |
* |
48 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @author Aaron M. Renn <arenn@urbanophile.com> |
49 |
* @author Warren Levy <warrenl@cygnus.com> |
* @author Warren Levy <warrenl@cygnus.com> |
50 |
* @date March 5, 1999. |
* @status updated to 1.4 |
|
*/ |
|
|
public class UnknownServiceException extends java.io.IOException |
|
|
{ |
|
|
|
|
|
/* |
|
|
* Constructors |
|
51 |
*/ |
*/ |
52 |
|
public class UnknownServiceException extends IOException |
|
/** |
|
|
* Initializes a new instance of <code>UnknownServiceException</code> |
|
|
* without a descriptive error message. |
|
|
*/ |
|
|
public |
|
|
UnknownServiceException() |
|
53 |
{ |
{ |
54 |
super(); |
/** |
55 |
} |
* Compatible with JDK 1.0+. |
56 |
|
*/ |
57 |
/*************************************************************************/ |
private static final long serialVersionUID = -4169033248853639508L; |
58 |
|
|
59 |
/** |
/** |
60 |
* Initializes a new instance of <code>UnknownServiceException</code> |
* Create a new instance without a descriptive error message. |
61 |
* without a descriptive error message. |
*/ |
62 |
* |
public UnknownServiceException() |
63 |
* @param message A message describing the error that occurred. |
{ |
64 |
*/ |
} |
65 |
public |
|
66 |
UnknownServiceException(String message) |
/** |
67 |
{ |
* Create a new instance with a descriptive error message. |
68 |
super(message); |
* |
69 |
} |
* @param message a message describing the error that occurred |
70 |
|
*/ |
71 |
|
public UnknownServiceException(String message) |
72 |
|
{ |
73 |
|
super(message); |
74 |
|
} |
75 |
} // class UnknownServiceException |
} // class UnknownServiceException |
|
|
|