Chapter 31. The org.omg.CORBA.DynAnyPackage PackageThe org.omg.CORBA.DynAnyPackage package defines the exceptions used by the org.omg.CORBA.DynAny interface and its subinterfaces. Figure 31-1 shows the class hierarchy of this package. Figure 31-1. The org.omg.CORBA.DynAnyPackage package
An exception thrown whenever a bad DynAny or Any object is encountered in a dynamic introspection operation.
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->Invalid Thrown By: DynAny.{assign(), from_any(), to_any()}
An exception thrown whenever an invalid Java array is encountered in a dynamic introspection operation.
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->InvalidSeq Thrown By: DynArray.set_elements(), DynSequence.set_elements(), DynStruct.set_members(), DynValue.set_members()
An exception thrown when a bad value is inserted into a DynAny object.
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->InvalidValue Thrown By: DynAny.{insert_any(), insert_boolean(), insert_char(), insert_double(), insert_float(), insert_long(), insert_longlong(), insert_octet(), insert_reference(), insert_short(), insert_string(), insert_typecode(), insert_ulong(), insert_ulonglong(), insert_ushort(), insert_val(), insert_wchar(), insert_wstring()}, DynFixed.set_value()
An exception thrown when you ask for a value from a DynAny object that doesn't match the type that it contains.
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->TypeMismatch Thrown By: DynAny.{get_any(), get_boolean(), get_char(), get_double(), get_float(), get_long(), get_longlong(), get_octet(), get_reference(), get_short(), get_string(), get_typecode(), get_ulong(), get_ulonglong(), get_ushort(), get_val(), get_wchar(), get_wstring()} Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|