The org.omg.CORBA.TypeCodePackage package defines exceptions that are thrown by the org.omg.CORBA.TypeCode class. Figure 34-1 shows the class hierarchy of this package.

| BadKind | Java 1.2 | |
|
|
||
| org.omg.CORBA.TypeCodePackage | serializable checked | |
An exception thrown when a method is called on a TypeCode object that isn't valid for the type it represents.
| public final class BadKind extends UserException { | ||
| // | Public Constructors | |
| public BadKind (); | ||
| public BadKind (String reason); | ||
| } | ||
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->BadKind
Thrown By: TypeCode.{concrete_base_type(), content_type(), default_index(), discriminator_type(), fixed_digits(), fixed_scale(), id(), length(), member_count(), member_label(), member_name(), member_type(), member_visibility(), name(), type_modifier()}
| Bounds | Java 1.2 | |
|
|
||
| org.omg.CORBA.TypeCodePackage | serializable checked | |
An exception thrown when you request member information from a TypeCode using an index that is beyond the valid member index of the type.
| public final class Bounds extends UserException { | ||
| // | Public Constructors | |
| public Bounds (); | ||
| public Bounds (String reason); | ||
| } | ||
Hierarchy: Object-->Throwable(Serializable)-->Exception-->UserException(org.omg.CORBA.portable.IDLEntity(Serializable))-->org.omg.CORBA.TypeCodePackage.Bounds
Thrown By: TypeCode.{member_label(), member_name(), member_type()}

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