// **********************************************************************
//
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
// Ice version 3.4.1
package Ice;
// <auto-generated>
//
// Generated from file `LocalException.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
/**
* This exception indicates a DNS problem. For details on the cause,
* {@link DNSException#error} should be inspected.
*
**/
public class DNSException extends Ice.LocalException
{
public DNSException()
{
}
public DNSException(int error, String host)
{
this.error = error;
this.host = host;
}
public String
ice_name()
{
return "Ice::DNSException";
}
/**
* The error number describing the DNS problem. For C++ and Unix,
* this is equivalent to <tt>h_errno</tt>. For C++ and
* Windows, this is the value returned by
* <tt>WSAGetLastError()</tt>.
*
**/
public int error;
/**
* The host name that could not be resolved.
*
**/
public String host;
}