org.omg.PortableServer.POAPackage

Class NoServantHelper

public abstract class NoServantHelper extends Object

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

Method Detail

extract

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

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

id

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

Returns: "IDL:omg.org/PortableServer/POA/NoServant:1.0", always.

insert

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

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

read

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

write

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