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

IceGrid.NodeUnreachableException Maven / Gradle / Ivy

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
// 
//
// Generated from file `Exception.ice'
//
// Warning: do not edit this file.
//
// 
//

package IceGrid;

/**
 * This exception is raised if a node could not be reached.
 *
 **/
public class NodeUnreachableException extends Ice.UserException
{
    public NodeUnreachableException()
    {
        this.name = "";
        this.reason = "";
    }

    public NodeUnreachableException(Throwable cause)
    {
        super(cause);
        this.name = "";
        this.reason = "";
    }

    public NodeUnreachableException(String name, String reason)
    {
        this.name = name;
        this.reason = reason;
    }

    public NodeUnreachableException(String name, String reason, Throwable cause)
    {
        super(cause);
        this.name = name;
        this.reason = reason;
    }

    public String
    ice_id()
    {
        return "::IceGrid::NodeUnreachableException";
    }

    /**
     * The name of the node that is not reachable.
     *
     **/
    public String name;

    /**
     * The reason why the node couldn't be reached.
     *
     **/
    public String reason;

    protected void
    _writeImpl(Ice.OutputStream ostr_)
    {
        ostr_.startSlice("::IceGrid::NodeUnreachableException", -1, true);
        ostr_.writeString(name);
        ostr_.writeString(reason);
        ostr_.endSlice();
    }

    protected void
    _readImpl(Ice.InputStream istr_)
    {
        istr_.startSlice();
        name = istr_.readString();
        reason = istr_.readString();
        istr_.endSlice();
    }

    public static final long serialVersionUID = 4518728810080583204L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy