org.omg.DynamicAny.DynAnyPackage
Class InvalidValue

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by 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.
 
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

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.