3.7.3.4.6 Exceptions
-
CORBA::BAD_INV_ORDER
- There is an active transaction. The resource manager cannot be closed while a transaction is active.
-
Tobj::RMFailed
- The
tx_close()
call returned an error return code.
Note:
Unlike other exceptions returned by the TP Framework, theTobj::RMFailed
exception is defined in tobj_c.h
(which is derived from tobj.idl
), not TobjS_c.h
(which is derived from TobjS.idl
). This is because native clients can also open XA resource managers. Therefore, the exception returned is consistent with the exception expected by native client code and by Server::release()
if it uses the alternate mechanism, TransactionCurrent::close_xa_rm
, which is shared with native clients.
Parent topic: TP::close_xa_rm()