FileDocCategorySizeDatePackage
BadKind.javaAPI DocJava SE 5 API1070Fri Aug 26 14:58:34 BST 2005org.omg.CORBA.TypeCodePackage

BadKind

public final class BadKind extends org.omg.CORBA.UserException
The exception BadKind is thrown when an inappropriate operation is invoked on a TypeCode object. For example, invoking the method discriminator_type() on an instance of TypeCode that does not represent an IDL union will cause the exception BadKind to be thrown.
see
org.omg.CORBA.TypeCode
version
1.7, 03/18/98
since
JDK1.2

Fields Summary
Constructors Summary
public BadKind()
Constructs a BadKind exception with no reason message.

	super();
    
public BadKind(String reason)
Constructs a BadKind exception with the specified reason message.

param
reason the String containing a reason message

	super(reason);
    
Methods Summary