org.omg.PortableServer.POAPackage

Class ServantNotActiveHelper

public abstract class ServantNotActiveHelper extends Object

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

Method Detail

extract

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

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

id

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

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

insert

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

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

read

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

write

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