java.net
Class NoRouteToHostException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.SocketException
java.net.NoRouteToHostException
- All Implemented Interfaces:
- java.io.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
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Throwable |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- Compatible with JDK 1.1+.
- See Also:
- Constant Field Values
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).