public final class InetAddressUnresolvableException extends RuntimeException
InetAddress
.Constructor and Description |
---|
InetAddressUnresolvableException(String hostname,
Throwable cause)
Creates an exception with the specified hostname and cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getHostname()
Returns the hostname that could not be resolved.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getHostname()