org.omg.CORBA

Class WrongTransactionHelper

public abstract class WrongTransactionHelper extends Object

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

Method Detail

extract

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

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

id

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

Returns: "IDL:omg.org/CORBA/WrongTransaction:1.0", always.

insert

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

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

read

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

write

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