Ice.DNSException Maven / Gradle / Ivy
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.4
//
//
//
// Generated from file `LocalException.ice'
//
// Warning: do not edit this file.
//
//
//
package Ice;
/**
* This exception indicates a DNS problem. For details on the cause,
* {@link DNSException#error} should be inspected.
*
**/
public class DNSException extends LocalException
{
public DNSException()
{
this.error = 0;
this.host = "";
}
public DNSException(Throwable cause)
{
super(cause);
this.error = 0;
this.host = "";
}
public DNSException(int error, String host)
{
this.error = error;
this.host = host;
}
public DNSException(int error, String host, Throwable cause)
{
super(cause);
this.error = error;
this.host = host;
}
public String
ice_id()
{
return "::Ice::DNSException";
}
/**
* 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()
.
*
**/
public int error;
/**
* The host name that could not be resolved.
*
**/
public String host;
public static final long serialVersionUID = 824453629913156786L;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy