org.omg.PortableInterceptor.ORBInitInfoPackage

Class DuplicateNameHelper

public abstract class DuplicateNameHelper extends Object

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

Method Detail

extract

public static DuplicateName extract(Any any)
Extract the DuplicateName from given Any. This method uses the DuplicateNameHolder.

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

id

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

Returns: "IDL:omg.org/PortableInterceptor/ORBInitInfo/DuplicateName:1.0".

insert

public static void insert(Any any, DuplicateName that)
Insert the DuplicateName into the given Any. This method uses the DuplicateNameHolder.

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

read

public static DuplicateName 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 DuplicateName typecode (structure, named "DuplicateName"). The typecode states that the structure contains the following fields: name.

write

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