Package com.zeroc.Ice

Class TwowayOnlyException

All Implemented Interfaces:
Serializable, Cloneable

public class TwowayOnlyException extends LocalException
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.
See Also:
  • Field Details

    • operation

      public String operation
      The name of the operation that was invoked.
  • Constructor Details

    • TwowayOnlyException

      public TwowayOnlyException()
    • TwowayOnlyException

      public TwowayOnlyException(Throwable cause)
    • TwowayOnlyException

      public TwowayOnlyException(String operation)
    • TwowayOnlyException

      public TwowayOnlyException(String operation, Throwable cause)
  • Method Details

    • ice_id

      public String ice_id()
      Description copied from class: Exception
      Returns the type id of this exception.
      Specified by:
      ice_id in class Exception
      Returns:
      The type id of this exception.