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:
- 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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.