Name
BAD_OPERATION
Synopsis
A standard CORBA exception thrown when an invalid method is
invoked. If, for example, you call an extract_XXX()
method on an Any
object for a type that it does not contain, a BAD_OPERATION
will be
thrown.
public final class BAD_OPERATION extends org.omg.CORBA.SystemException { // Public Constructors public BAD_OPERATION(); public BAD_OPERATION( String s); public BAD_OPERATION(int minor, CompletionStatus completed); public BAD_OPERATION(String s, int minor, CompletionStatus completed); }
Thrown By
Any.{extract_any()
, extract_boolean()
, extract_char()
, extract_double()
, extract_float()
, extract_long()
, extract_longlong()
, extract_Object()
, extract_octet()
, extract_Principal()
, extract_short()
, extract_string()
, extract_TypeCode()
, extract_ulong()
, extract_ulonglong()
, extract_ushort()
, extract_Value()
, extract_wchar()
, extract_wstring()}
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.