Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.net

Class NoRouteToHostException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.io.IOException
         |
         +--java.net.SocketException
            |
            +--java.net.NoRouteToHostException


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:Authors:

Constructor Summary

NoRouteToHostException()

Create an instance without a descriptive error message.
NoRouteToHostException(java.lang.String message)

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

Constructor Details

NoRouteToHostException

public NoRouteToHostException()

Create an instance without a descriptive error message.


NoRouteToHostException

public NoRouteToHostException(java.lang.String message)

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

Parameters: