org.omg.IOP.CodecPackage

Class FormatMismatchHelper

public abstract class FormatMismatchHelper extends Object

The helper operations for the exception {@link FormatMismatch}.
Method Summary
static FormatMismatchextract(Any any)
Extract the FormatMismatch from given Any.
static Stringid()
Get the FormatMismatch repository id.
static voidinsert(Any any, FormatMismatch that)
Insert the FormatMismatch into the given Any.
static FormatMismatchread(InputStream input)
Read the exception from the CDR intput stream.
static TypeCodetype()
Create the FormatMismatch typecode (structure, named "FormatMismatch").
static voidwrite(OutputStream output, FormatMismatch value)
Write the exception to the CDR output stream.

Method Detail

extract

public static FormatMismatch extract(Any any)
Extract the FormatMismatch from given Any.

Throws: BAD_OPERATION if the passed Any does not contain FormatMismatch.

id

public static String id()
Get the FormatMismatch repository id.

Returns: "IDL:omg.org/IOP/Codec/FormatMismatch:1.0", always.

insert

public static void insert(Any any, FormatMismatch that)
Insert the FormatMismatch into the given Any.

Parameters: any the Any to insert into. that the FormatMismatch to insert.

read

public static FormatMismatch read(InputStream input)
Read the exception from the CDR intput stream.

Parameters: input a org.omg.CORBA.portable stream to read from.

type

public static TypeCode type()
Create the FormatMismatch typecode (structure, named "FormatMismatch").

write

public static void write(OutputStream output, FormatMismatch value)
Write the exception to the CDR output stream.

Parameters: output a org.omg.CORBA.portable stream stream to write into. value a value to write.