org.omg.DynamicAny.DynAnyPackage
Class InvalidValue
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.DynamicAny.DynAnyPackage.InvalidValue
- All Implemented Interfaces:
- Serializable, IDLEntity
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.
- See Also:
- Serialized Form
Constructor Summary |
InvalidValue()
Create InvalidValue with no explaining
message. |
InvalidValue(String why)
Create the InvalidValue with explaining
message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.