java.net.UnknownServiceException
java.io.IOException
None
None
JDK 1.0 or later
A UnknownServiceException is thrown when an unrecognized service is requested, which can occur when the MIME type returned by a URLConnection does not match any recognized types.
public class java.net.UnknownServiceException
extends java.io.IOException {
// Constructors
public UnknownServiceException();
public UnknownServiceException(String msg);
}
This constructor creates an UnknownServiceException with no associated detail message.
The detail message.
This constructor creates an UnknownServiceException with the specified detail message.
| Method | Inherited From | Method | Inherited From |
|---|---|---|---|
|
clone() |
Object |
equals(Object) |
Object |
|
fillInStackTrace() |
Throwable |
finalize() |
Object |
|
getClass() |
Object |
getLocalizedMessage() |
Throwable |
|
getMessage() |
Throwable |
hashCode() |
Object |
|
notify() |
Object |
notifyAll() |
Object |
|
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
|
printStackTrace(PrintWriter) |
Throwable |
toString() |
Throwable |
|
wait() |
Object |
wait(long) |
Object |
|
wait(long, int) |
Object |
Exception, IOException, RuntimeException