home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Book Home Java Enterprise in a Nutshell Search this book

Chapter 32. The org.omg.CORBA.ORBPackage Package

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.


Figure 32-1. The org.omg.CORBA.ORBPackage package

InconsistentTypeCodeJava 1.2
org.omg.CORBA.ORBPackageserializable 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()}

InvalidNameJava 1.2
org.omg.CORBA.ORBPackageserializable 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()

Library Navigation Links

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