org.omg.CORBA.DynAnyPackage

Class Invalid

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

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.