com.zeroc.Ice.DNSException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.8
//
//
//
// Generated from file `LocalException.ice'
//
// Warning: do not edit this file.
//
//
//
package com.zeroc.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;
/** @hidden */
public static final long serialVersionUID = 824453629913156786L;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy