public class NoRouteToHostException extends SocketException
Constructor and 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, toString
public NoRouteToHostException()
public NoRouteToHostException(String msg)
msg
- the detail message