| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.io.IOException | |||
| ↳ | java.net.UnknownHostException | |||
Thrown when a hostname can not be resolved.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Constructs a new
UnknownHostException
instance with no detail message.
|
||||||||||
|
|
Constructs a new
UnknownHostException
instance with the given detail message.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||||||||||||||||||||||||||||
From class
java.lang.Object
|
|||||||||||||||||||||||||||||||||||||
Constructs a new
UnknownHostException
instance with no detail message.
Callers should usually supply a detail message.
Constructs a new
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. |
|---|