java.net
Class UnknownServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.UnknownServiceException
- All Implemented Interfaces:
- java.io.Serializable
- public class UnknownServiceException
- extends java.io.IOException
Contrary to what you might think, this does not indicate that the
TCP/IP service name specified was invalid. Instead it indicates that
the MIME type returned from a URL could not be determined or that an
attempt was made to write to a read-only URL.
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Throwable |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- Compatible with JDK 1.0+.
- See Also:
- Constant Field Values
UnknownServiceException
public UnknownServiceException()
- Create a new instance without a descriptive error message.
UnknownServiceException
public UnknownServiceException(java.lang.String message)
- Create a new instance with a descriptive error message.