org.omg.IOP.CodecFactoryPackage

Class UnknownEncodingHelper

public abstract class UnknownEncodingHelper extends Object

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

Method Detail

extract

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

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

id

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

Returns: "IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0", always.

insert

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

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

read

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

write

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