java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.LocalException
com.zeroc.Ice.SyscallException
com.zeroc.Ice.DNSException
- All Implemented Interfaces:
Serializable
This exception indicates a DNS problem.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDNSException
(String host) Constructs a DNSException with a message.DNSException
(String host, Throwable cause) Constructs a DNSException with a message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DNSException
Constructs a DNSException with a message.- Parameters:
host
- the host that could not be resolved
-
DNSException
Constructs a DNSException with a message and a cause.- Parameters:
host
- the host that could not be resolvedcause
- the cause of this exception
-
-
Method Details
-
ice_id
Description copied from class:LocalException
Returns the type ID of this exception.- Overrides:
ice_id
in classSyscallException
- Returns:
- the type ID of this exception
-