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 exceptionBadKind
is thrown when an inappropriate operation is invoked on aTypeCode
object. For example, invoking the methoddiscriminator_type()
on an instance ofTypeCode
that does not represent an IDL union will cause the exceptionBadKind
to be thrown.- Since:
- JDK1.2
- Version:
- 1.7, 03/18/98
- See Also:
TypeCode