All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zeroc.Ice.DNSException Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.9
//
// 
//
// 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