org.omg.IOP.CodecPackage
Class FormatMismatch
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.IOP.CodecPackage.FormatMismatch
- All Implemented Interfaces:
- Serializable, IDLEntity
public final class FormatMismatch
- extends UserException
- implements IDLEntity, Serializable
This exception is raised by CodecOperations.decode(byte[])
or CodecOperations.decode_value(byte[], org.omg.CORBA.TypeCode)
when the data in the
octet sequence cannot be decoded into Any
.
- See Also:
CodecOperations
,
Serialized Form
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.