public abstract class FormatMismatchHelper extends Object
FormatMismatch
.Constructor and Description |
---|
FormatMismatchHelper() |
Modifier and Type | Method and Description |
---|---|
static FormatMismatch |
extract(Any any)
Extract the FormatMismatch from given Any.
|
static String |
id()
Get the FormatMismatch repository id.
|
static void |
insert(Any any,
FormatMismatch that)
Insert the FormatMismatch into the given Any.
|
static FormatMismatch |
read(InputStream input)
Read the exception from the CDR intput stream.
|
static TypeCode |
type()
Create the FormatMismatch typecode (structure,
named "FormatMismatch").
|
static void |
write(OutputStream output,
FormatMismatch value)
Write the exception to the CDR output stream.
|
public FormatMismatchHelper()
public static TypeCode type()
public static void insert(Any any, FormatMismatch that)
any
- the Any to insert into.that
- the FormatMismatch to insert.public static FormatMismatch extract(Any any)
BAD_OPERATION
- if the passed Any does not contain FormatMismatch.public static String id()
public static FormatMismatch read(InputStream input)
input
- a org.omg.CORBA.portable stream to read from.public static void write(OutputStream output, FormatMismatch value)
output
- a org.omg.CORBA.portable stream stream to write into.value
- a value to write.