Package org.omg.CORBA.ORBPackage
Class InconsistentTypeCode
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.CORBA.ORBPackage.InconsistentTypeCode
- All Implemented Interfaces:
Serializable
,IDLEntity
InconsistentTypeCode is thrown when an attempt is made to create a
dynamic any with a type code that does not match the particular
subclass of
DynAny
.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs anInconsistentTypeCode
user exception with no reason message.InconsistentTypeCode
(String reason) Constructs anInconsistentTypeCode
user exception with the specified reason message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InconsistentTypeCode
public InconsistentTypeCode()Constructs anInconsistentTypeCode
user exception with no reason message. -
InconsistentTypeCode
Constructs anInconsistentTypeCode
user exception with the specified reason message.- Parameters:
reason
- The String containing a reason message
-