org.omg.DynamicAny.DynAnyFactoryPackage
Class InconsistentTypeCode

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode
All Implemented Interfaces:
Serializable, IDLEntity

public final class InconsistentTypeCode
extends UserException
implements IDLEntity, Serializable

The InconsistentTypeCode is thrown on the attempt to create an DynAny for Principal or native data types. The OMG documentation states that these two types should not be suported by org.omg.DynamicAny package.

See Also:
DynAnyOperations, Serialized Form

Constructor Summary
InconsistentTypeCode()
          Create InconsistentTypeCode with no explaining message.
InconsistentTypeCode(String why)
          Create the InconsistentTypeCode with explaining message.
 
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

InconsistentTypeCode

public InconsistentTypeCode()
Create InconsistentTypeCode with no explaining message.


InconsistentTypeCode

public InconsistentTypeCode(String why)
Create the InconsistentTypeCode with explaining message.

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