Package com.zeroc.Ice
Class TwowayOnlyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.Exception
com.zeroc.Ice.LocalException
com.zeroc.Ice.TwowayOnlyException
- All Implemented Interfaces:
Serializable
,Cloneable
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTwowayOnlyException
(String operation) TwowayOnlyException
(String operation, Throwable cause) TwowayOnlyException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
operation
The name of the operation that was invoked.
-
-
Constructor Details
-
TwowayOnlyException
public TwowayOnlyException() -
TwowayOnlyException
-
TwowayOnlyException
-
TwowayOnlyException
-
-
Method Details