Serializablepublic class NoRouteToHostException extends SocketException
| 构造器 | 说明 |
|---|---|
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.
|
public NoRouteToHostException(String msg)
msg - the detail messagepublic NoRouteToHostException()