Package com.zeroc.Ice

Class DNSException

All Implemented Interfaces:
Serializable, Cloneable

public class DNSException extends LocalException
This exception indicates a DNS problem. For details on the cause, error should be inspected.
See Also:
  • Field Details

    • error

      public int error
      The error number describing the DNS problem. For C++ and Unix, this is equivalent to h_errno. For C++ and Windows, this is the value returned by WSAGetLastError().
    • host

      public String host
      The host name that could not be resolved.
  • Constructor Details

    • DNSException

      public DNSException()
    • DNSException

      public DNSException(Throwable cause)
    • DNSException

      public DNSException(int error, String host)
    • DNSException

      public DNSException(int error, String host, Throwable cause)
  • Method Details

    • ice_id

      public String ice_id()
      Description copied from class: Exception
      Returns the type id of this exception.
      Specified by:
      ice_id in class Exception
      Returns:
      The type id of this exception.