org.omg.DynamicAny.DynAnyPackage

Class InvalidValue

public final class InvalidValue extends UserException implements IDLEntity, Serializable

Raised when the operation on DynAny cannot be performed because one of the parameters, while having the correct type, has the invalid value. For instance, it is raised in response to the set the array content, when number of the provided elements mismatch the size of array.
Constructor Summary
InvalidValue()
Create InvalidValue with no explaining message.
InvalidValue(String why)
Create the InvalidValue with explaining message.

Constructor Detail

InvalidValue

public InvalidValue()
Create InvalidValue with no explaining message.

InvalidValue

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

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