org.omg.CORBA.TypeCodePackage
Class BadKind

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.CORBA.TypeCodePackage.BadKind
All Implemented Interfaces:
Serializable, IDLEntity

public final class BadKind
extends UserException
implements IDLEntity, Serializable

This exception is thrown when an inappropriate operation is invoked on a TypeCode object.

See Also:
Serialized Form

Constructor Summary
BadKind()
          Constructs a the exception.
BadKind(String reason)
          Constructs the exception, explaining the reason of throwing it.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadKind

public BadKind()
Constructs a the exception.


BadKind

public BadKind(String reason)
Constructs the exception, explaining the reason of throwing it.

Parameters:
reason - a string, explaining, why the exception has been thrown.