org.omg.CORBA.DynAnyPackage
Class Invalid

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.Invalid
All Implemented Interfaces:
Serializable, IDLEntity

public final class Invalid
extends UserException
implements Serializable, IDLEntity

This exception is thrown by dynamic any operations when a bad DynAny or Any is passed as a parameter.

See Also:
Serialized Form

Constructor Summary
Invalid()
          Creates Invalid without explaining message.
Invalid(String reason)
          Created Invalid 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

Invalid

public Invalid()
Creates Invalid without explaining message.


Invalid

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

Parameters:
reason - the reason of throwing the exception.