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

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

//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.2
//
// 
//
// Generated from file `LocalException.ice'
//
// Warning: do not edit this file.
//
// 
//

package com.zeroc.Ice;

/**
 * The operation can only be invoked with a twoway request.
 *
 * This exception is raised if an attempt is made to invoke an
 * operation with ice_oneway, ice_batchOneway, ice_datagram,
 * or ice_batchDatagram and the operation has a return value,
 * out-parameters, or an exception specification.
 **/
public class TwowayOnlyException extends LocalException
{
    public TwowayOnlyException()
    {
        this.operation = "";
    }

    public TwowayOnlyException(Throwable cause)
    {
        super(cause);
        this.operation = "";
    }

    public TwowayOnlyException(String operation)
    {
        this.operation = operation;
    }

    public TwowayOnlyException(String operation, Throwable cause)
    {
        super(cause);
        this.operation = operation;
    }

    public String ice_id()
    {
        return "::Ice::TwowayOnlyException";
    }

    /**
     * The name of the operation that was invoked.
     **/
    public String operation;

    /** @hidden */
    public static final long serialVersionUID = -7036652448391478186L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy