Package org.omg.CORBA.TypeCodePackage
Class BadKind
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.omg.CORBA.UserException
-
- org.omg.CORBA.TypeCodePackage.BadKind
-
- All Implemented Interfaces:
java.io.Serializable,IDLEntity
public final class BadKind extends UserException
The exceptionBadKindis thrown when an inappropriate operation is invoked on aTypeCodeobject. For example, invoking the methoddiscriminator_type()on an instance ofTypeCodethat does not represent an IDL union will cause the exceptionBadKindto be thrown.- Since:
- JDK1.2
- Version:
- 1.7, 03/18/98
- See Also:
TypeCode