public class NoRouteToHostException extends SocketException
| Constructor and Description |
|---|
NoRouteToHostException()
Construct a new NoRouteToHostException with no detailed message.
|
NoRouteToHostException(String
Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoRouteToHostException(Stringmsg)
msg - the detail message
public NoRouteToHostException()