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

Glacier2.CannotCreateSessionException 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.7
//
// 
//
// Generated from file `Session.ice'
//
// Warning: do not edit this file.
//
// 
//

package Glacier2;

/**
 * This exception is raised if an attempt to create a new session failed.
 *
 **/
public class CannotCreateSessionException extends Ice.UserException
{
    public CannotCreateSessionException()
    {
        this.reason = "";
    }

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

    public CannotCreateSessionException(String reason)
    {
        this.reason = reason;
    }

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

    public String
    ice_id()
    {
        return "::Glacier2::CannotCreateSessionException";
    }

    /**
     * The reason why session creation has failed.
     *
     **/
    public String reason;

    public Ice.SlicedData 
    ice_getSlicedData()
    {
        return _slicedData;
    }

    public void
    _write(Ice.OutputStream ostr)
    {
        ostr.startException(_slicedData);
        _writeImpl(ostr);
        ostr.endException();
    }

    public void
    _read(Ice.InputStream istr)
    {
        istr.startException();
        _readImpl(istr);
        _slicedData = istr.endException(true);
    }

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

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

    protected Ice.SlicedData _slicedData;

    public static final long serialVersionUID = -5855443614301348295L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy