public class NoRouteToHostException extends SocketException
|Constructor and Description|
Construct a new NoRouteToHostException with no detailed message.
Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, toString
public NoRouteToHostException(String msg)
msg- the detail message
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.