Package com.zeroc.Ice

Class OnewayOnlyException

All Implemented Interfaces:
Serializable

public final class OnewayOnlyException extends LocalException
The exception that is thrown when attempting to invoke a oneway-only operation (an operation with the ["oneway"] metadata directive) using a twoway proxy.
See Also:
  • Field Details

    • operation

      public final String operation
      The name of the oneway-only operation.
  • Constructor Details

    • OnewayOnlyException

      public OnewayOnlyException(String operation)
      Constructs an OnewayOnlyException with the operation name.
      Parameters:
      operation - the name of the oneway-only operation
  • 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