public class UnknownHostException extends IOException
Constructor and Description |
---|
UnknownHostException()
Constructs a new
UnknownHostException with no detail message. |
UnknownHostException(String host)
Constructs a new
UnknownHostException with the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
public UnknownHostException(@Nullable String host)
UnknownHostException
with the specified detail message.host
- the detail message.public UnknownHostException()
UnknownHostException
with no detail message.