org.omg.IOP.CodecPackage

Class FormatMismatch

public final class FormatMismatch extends UserException implements IDLEntity, Serializable

This exception is raised by {@link org.omg.IOP.CodecOperations#decode} or {@link org.omg.IOP.CodecOperations#decode_value} when the data in the octet sequence cannot be decoded into {@link org.omg.CORBA.Any}.

See Also:

Constructor Summary
FormatMismatch()
Create FormatMismatch with no explaining message.
FormatMismatch(String why)
Create the FormatMismatch with explaining message and all fields initialised to the given values.

Constructor Detail

FormatMismatch

public FormatMismatch()
Create FormatMismatch with no explaining message.

FormatMismatch

public FormatMismatch(String why)
Create the FormatMismatch with explaining message and all fields initialised to the given values.

Parameters: why a string, explaining, why this exception has been thrown.