Share via


NoRouteToHostException.NoRouteToHostException

Class Overview | Class Members | This Package | All Packages

Syntax 1

public NoRouteToHostException( String msg )

Parameters
  • msg
    the detail message
Description

Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached. A detail message is a String that gives a specific description of this error.

Syntax 2

public NoRouteToHostException()

Description

Construct a new NoRouteToHostException with no detailed message.