org.omg.PortableInterceptor

Class InvalidSlotHelper

public abstract class InvalidSlotHelper extends Object

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

Method Detail

extract

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

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

id

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

Returns: "IDL:omg.org/PortableInterceptor/InvalidSlot:1.0", always.

insert

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

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

read

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

write

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