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