beautypg.com

Joltevent class, Commit, Rollback – HP NonStop G-Series User Manual

Page 126

background image

commit

Performs the transaction commit.

void commit()

Usage After commit() is called, the object is obsolete.

Throws

TransactionException

TPEJOLT: Invalid transaction
TPEJOLT: Connection send error
TPEJOLT: Connection recv error
TPEJOLT: Protocol error
TPEABORT: Requests pending

The commit() method generates an exception upon receipt of the following TUXEDO errors:

tpcommit()

TPEINVAL, TPETIME, TPEABORT, TPEHEURISTIC, TPEHAZARD, TPEPROTO, TPESYSTEM, TPEOS

Refer to

TUXEDO Errors

or tperrno in the TUXEDO System Reference Manual for explanations of these error

messages.

rollback

Aborts the transaction.

void rollback()

Usage After rollback() is called, the object is obsolete.

Throws

TransactionException

TPEJOLT: Invalid transaction
TPEJOLT: Connection send error
TPEJOLT: Connection recv error
TPEJOLT: Protocol error

The rollback() method generates an exception upon receipt of the following TUXEDO errors:

tpabort()

TPEINVAL, TPEHEURISTIC, TPEHAZARD, TPEOS, TPEPROTO, TPESYSTEM

Refer to

TUXEDO Errors

or tperrno in the TUXEDO System Reference Manual for explanations of these error

messages.

JoltEvent Class

java.lang.Object
|
+----bea.jolt.JoltEvent

The JoltEvent class extends the java.lang.Object class and is a base class for various event subscriptions. This class is not
designed to be instantiated directly. The JoltEvent class provides some common implementations for all subscriptions. An
event can be a notification event or service event. A notifiable event generates an event subscription while a service event