public class NoRouteToHostException extends SocketException
Constructor | Description |
---|---|
NoRouteToHostException() |
Construct a new NoRouteToHostException with no detailed message.
|
NoRouteToHostException(String msg) |
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, toString
public NoRouteToHostException(String msg)
msg
- the detail messagepublic NoRouteToHostException()