org.omg.CORBA.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.CORBA.DynAnyPackage.InvalidValue
All Implemented Interfaces:
Serializable, IDLEntity

public final class InvalidValue
extends UserException
implements Serializable, IDLEntity

This expception in response to insert the inapproriate value into dynamic Any, usually by the DynAny.insert_*(value) method group.

See Also:
Serialized Form

Constructor Summary
InvalidValue()
          Creates InvalidValue without explaining message.
InvalidValue(String reason)
          Created InvalidValue exception, providing the 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()
Creates InvalidValue without explaining message.


InvalidValue

public InvalidValue(String reason)
Created InvalidValue exception, providing the explaining message.

Parameters:
reason - the reason of throwing the exception.