public class UnknownHostException extends IOException
Constructor and Description |
---|
UnknownHostException()
Create a new instance without a descriptive error message.
|
UnknownHostException(String message)
Create a new instance with a descriptive error message, such as the name of
the host that could not be resolved.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, toString
public UnknownHostException()
public UnknownHostException(String message)
message
- a message describing the error that occurred