org.omg.PortableServer.POAPackage

Class ServantAlreadyActiveHelper

public abstract class ServantAlreadyActiveHelper extends Object

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

Method Detail

extract

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

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

id

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

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

insert

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

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

read

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

write

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