org.omg.PortableServer.CurrentPackage

Class NoContextHelper

public abstract class NoContextHelper extends Object

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

Method Detail

extract

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

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

id

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

Returns: "IDL:omg.org/PortableServer/Current/NoContext:1.0", always.

insert

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

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

read

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

write

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