The org.omg.CORBA.ORBPackage package defines the exceptions thrown by the org.omg.CORBA.ORB interface. Figure 32-1 shows the class hierarchy of this package.

| InconsistentTypeCode | Java 1.2 | |
|
|
||
| org.omg.CORBA.ORBPackage | serializable checked | |
An exception thrown by the ORB.create_dyn_XXX() methods when the TypeCode argument does not match the type of the DynAny subclass requested.
| public final class InconsistentTypeCode extends UserException { | ||
| // | Public Constructors | |
| public InconsistentTypeCode (); | ||
| public InconsistentTypeCode (String reason); | ||
| } | ||
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->InconsistentTypeCode
Thrown By: ORB.{create_basic_dyn_any(), create_dyn_array(), create_dyn_enum(), create_dyn_sequence(), create_dyn_struct(), create_dyn_union()}
| InvalidName | Java 1.2 | |
|
|
||
| org.omg.CORBA.ORBPackage | serializable checked | |
An exception thrown by the ORB.resolve_initial_references() method when the name passed in does not have a corresponding object in the ORB's initial reference list.
| public class InvalidName extends UserException { | ||
| // | Public Constructors | |
| public InvalidName (); | ||
| public InvalidName (String reason); | ||
| } | ||
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->org.omg.CORBA.ORBPackage.InvalidName
Thrown By: ORB.resolve_initial_references()

Copyright © 2001 O'Reilly & Associates. All rights reserved.