java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.LocalException
com.zeroc.Ice.TwowayOnlyException
- All Implemented Interfaces:
Serializable
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTwowayOnlyException
(String operation) Constructs a TwowayOnlyException with the operation name. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
operation
The name of the operation that was invoked.
-
-
Constructor Details
-
TwowayOnlyException
Constructs a TwowayOnlyException with the operation name.- Parameters:
operation
- the operation that can only be invoked with a twoway request
-
-
Method Details
-
ice_id
Description copied from class:LocalException
Returns the type ID of this exception.- Overrides:
ice_id
in classLocalException
- Returns:
- the type ID of this exception
-