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

This exception indicates that there is no TCP/IP route to the requested host. This is often due to a misconfigured routing table.

Since:
1.1
See Also:
Serialized Form

Constructor Summary
NoRouteToHostException()
          Create an instance without a descriptive error message.
NoRouteToHostException(String message)
          Create an instance with a descriptive error message, such as the text from strerror(3).
 
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()
Create an instance without a descriptive error message.


NoRouteToHostException

public NoRouteToHostException(String message)
Create an instance with a descriptive error message, such as the text from strerror(3).

Parameters:
message - a message describing the error that occurred