The 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.
Invalid | Java 1.2 | |
|
||
org.omg.CORBA.DynAnyPackage | serializable checked |
An exception thrown whenever a bad DynAny or Any object is encountered in a dynamic introspection operation.
public final class Invalid extends UserException { | ||
// | Public Constructors | |
public Invalid (); | ||
public Invalid (String reason); | ||
} |
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->Invalid
Thrown By: DynAny.{assign(), from_any(), to_any()}
InvalidSeq | Java 1.2 | |
|
||
org.omg.CORBA.DynAnyPackage | serializable checked |
An exception thrown whenever an invalid Java array is encountered in a dynamic introspection operation.
public final class InvalidSeq extends UserException { | ||
// | Public Constructors | |
public InvalidSeq (); | ||
public InvalidSeq (String reason); | ||
} |
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()
InvalidValue | Java 1.2 | |
|
||
org.omg.CORBA.DynAnyPackage | serializable checked |
An exception thrown when a bad value is inserted into a DynAny object.
public final class InvalidValue extends UserException { | ||
// | Public Constructors | |
public InvalidValue (); | ||
public InvalidValue (String reason); | ||
} |
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()
TypeMismatch | Java 1.2 | |
|
||
org.omg.CORBA.DynAnyPackage | serializable checked |
An exception thrown when you ask for a value from a DynAny object that doesn't match the type that it contains.
public final class TypeMismatch extends UserException { | ||
// | Public Constructors | |
public TypeMismatch (); | ||
public TypeMismatch (String reason); | ||
} |
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.
This HTML Help has been published using the chm2web software. |