Package com.zeroc.Ice
Class DNSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.Exception
com.zeroc.Ice.LocalException
com.zeroc.Ice.DNSException
- All Implemented Interfaces:
Serializable
,Cloneable
This exception indicates a DNS problem. For details on the cause,
error
should be inspected.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDNSException
(int error, String host) DNSException
(int error, String host, Throwable cause) DNSException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
error
public int errorThe error number describing the DNS problem. For C++ and Unix, this is equivalent toh_errno
. For C++ and Windows, this is the value returned byWSAGetLastError()
. -
host
The host name that could not be resolved.
-
-
Constructor Details
-
DNSException
public DNSException() -
DNSException
-
DNSException
-
DNSException
-
-
Method Details