org.omg.DynamicAny.DynAnyPackage

Class InvalidValueHelper

public abstract class InvalidValueHelper extends Object

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

Method Detail

extract

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

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

id

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

Returns: "IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0", always.

insert

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

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

read

public static InvalidValue 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 InvalidValue typecode (structure, named "InvalidValue").

write

public static void write(OutputStream output, InvalidValue 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.