java.net.UnknownHostException
java.io.IOException
None
None
JDK 1.0 or later
A UnknownHostException is thrown when a hostname cannot be resolved to an IP address.
public class java.net.UnknownHostException extends java.io.IOException { // Constructors public UnknownHostException(); public UnknownHostException(String host); }
This constructor creates an UnknownHostException with no associated detail message.
The detail message.
This constructor creates an UnknownHostException with the specified detail message, which should be the hostname that cannot be resolved.
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
This HTML Help has been published using the chm2web software. |