org.omg.CORBA
Class WrongTransactionHelper

java.lang.Object
  extended by org.omg.CORBA.WrongTransactionHelper

public abstract class WrongTransactionHelper
extends Object

The helper operations for the exception WrongTransaction.


Constructor Summary
WrongTransactionHelper()
           
 
Method Summary
static WrongTransaction extract(Any any)
          Extract the WrongTransaction from given Any.
static String id()
          Get the WrongTransaction repository id.
static void insert(Any any, WrongTransaction that)
          Insert the WrongTransaction into the given Any.
static WrongTransaction read(InputStream input)
          Read the exception from the CDR intput stream.
static TypeCode type()
          Create the WrongTransaction typecode (structure, named "WrongTransaction"), no fields.
static void write(OutputStream output, WrongTransaction value)
          Write the exception to the CDR output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrongTransactionHelper

public WrongTransactionHelper()
Method Detail

type

public static TypeCode type()
Create the WrongTransaction typecode (structure, named "WrongTransaction"), no fields.


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.

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.

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.

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.