Final

java.net
Class NoRouteToHostException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.net.SocketException
                  extended by java.net.NoRouteToHostException
All Implemented Interfaces:
Serializable

public class NoRouteToHostException
extends SocketException

The NoRouteToHostException may be thrown when attempting to connect to a remote machine and because of network fault or firewall, no route can be established.

See Also:
Serialized Form

Constructor Summary
NoRouteToHostException()
          Constructs a new instance of this class with its walkback filled in.
NoRouteToHostException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoRouteToHostException

public NoRouteToHostException()
Constructs a new instance of this class with its walkback filled in.


NoRouteToHostException

public NoRouteToHostException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.

Final

Licensed Materials - Property of IBM
© Copyright IBM Corp. 2006, 2008 All Rights Reserved.