Java Standard Edition (SE)
NoRouteToHostException
compact1, compact2, compact3
java.net
Class NoRouteToHostException
-
- All Implemented Interfaces:
- Serializable
public class NoRouteToHostException
extends SocketException
Signals that an error occurred while attempting to connect a
socket to a remote address and port. Typically, the remote
host cannot be reached because of an intervening firewall, or
if an intermediate router is down.
- Since:
- JDK1.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors
Constructor and Description |
NoRouteToHostException()
Construct a new NoRouteToHostException with no detailed message.
|
NoRouteToHostException(String msg)
Constructs a new NoRouteToHostException with the specified detail
message as to why the remote host cannot be reached.
|
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
Constructor Detail
-
NoRouteToHostException
public NoRouteToHostException(String msg)
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.
- Parameters:
msg
- the detail message
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 258 / 158780107. Delta: 0.04043 с