org.omg.DynamicAny.DynAnyFactoryPackage

Class InconsistentTypeCode

public final class InconsistentTypeCode extends UserException implements IDLEntity, Serializable

The InconsistentTypeCode is thrown on the attempt to create an {@link org.omg.DynamicAny.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:

Constructor Summary
InconsistentTypeCode()
Create InconsistentTypeCode with no explaining message.
InconsistentTypeCode(String why)
Create the InconsistentTypeCode with explaining message.

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.