Package com.zeroc.Ice

Class TwowayOnlyException

All Implemented Interfaces:
Serializable

public final class TwowayOnlyException extends LocalException
The exception that is thrown when attempting to invoke an operation with ice_oneway, ice_batchOneway, ice_datagram, or ice_batchDatagram, and the operation has a return value, an out parameter, or an exception specification.
See Also:
  • Field Details

    • operation

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

    • TwowayOnlyException

      public TwowayOnlyException(String operation)
      Constructs a TwowayOnlyException with the operation name.
      Parameters:
      operation - the operation that can only be invoked with a twoway request
  • Method Details

    • ice_id

      public String ice_id()
      Description copied from class: LocalException
      Returns the type ID of this exception.
      Overrides:
      ice_id in class LocalException
      Returns:
      the type ID of this exception