public class UnknownHostException extends IOException
Constructor and Description |
---|
UnknownHostException()
Constructs a new
UnknownHostException instance with no detail message. |
UnknownHostException(String detailMessage)
Constructs a new
UnknownHostException instance with the given detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownHostException()
UnknownHostException
instance with no detail message.
Callers should usually supply a detail message.public UnknownHostException(String detailMessage)
UnknownHostException
instance with the given detail message.
The detail message should generally contain the hostname and a reason for the failure,
if known.detailMessage
- the detail message for this exception.