org.omg.IOP.CodecPackage

Class FormatMismatch

public final class FormatMismatch extends UserException implements IDLEntity, Serializable

This exception is raised by CodecOperations or CodecOperations when the data in the octet sequence cannot be decoded into 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.