org.omg.IOP.CodecPackage
Class FormatMismatch

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by 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.
 
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

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.