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

Book Home Java Enterprise in a Nutshell Search this book

Chapter 34. The org.omg.CORBA.TypeCodePackage Package

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.

figure

Figure 34-1. The org.omg.CORBA.TypeCodePackage package

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

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



Library Navigation Links

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











??????????????@Mail.ru