Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Transaction Exceptions (23001 - 23011)

TransactionException is a run-time exception that is raised when an error is encountered during a transaction. When this occurs, the message contains a reference to the error code and error message.

Format

EXCEPTION [TOPLINK – error code]: Exception nameEXCEPTION DESCRIPTION: Message

Example 13-24 Transaction Exception

EXCEPTION [TOPLINK – 23001]: oracle.toplink.exceptions.TransactionExceptionEXCEPTION DESCRIPTION: Error looking up external Transaction resource under JNDI name.

23001: ERROR_DOING_JNDI_LOOKUP
Cause: Error looking up external transaction resource under JNDI name.
Action: Examine the internal exception and take the appropriate action.
23002: ERROR_GETTING_TRANSACTION_STATUS
Cause: Error obtaining the status of the current externally-managed transaction.
Action: Examine the internal exception and take the appropriate action.
23003: ERROR_GETTING_TRANSACTION
Cause: Error obtaining the current externally managed transaction.
Action: Examine the internal exception and take the appropriate action.
23004: ERROR_BINDING_TO_TRANSACTION
Cause: Error obtaining the transaction manager.
Action: Examine the internal exception and take the appropriate action.
23005: ERROR_BEGINNING_TRANSACTION
Cause: Error binding to the externally managed transaction.
Action: Examine the internal exception and take the appropriate action.
23006: ERROR_COMMITTING_TRANSACTION
Cause: Error beginning a new externally managed transaction.
Action: Examine the internal exception and take the appropriate action.
23007: ERROR_ROLLING_BACK_TRANSACTION
Cause: Error committing the externally managed transaction.
Action: Examine the internal exception and take the appropriate action.
23008: ERROR_MARKING_TRANSACTION_FOR_ROLLBACK
Cause: Error rolling back the externally managed transaction.
Action: Examine the internal exception and take the appropriate action.
23009: ERROR_NO_TRANSACTION_ACTIVE
Cause: Error marking the externally managed transaction for rollback.
Action: Examine the internal exception and take the appropriate action.
23010: ERROR_INACTIVE_UOW
Cause: No externally managed transaction is currently active for this thread.
Action: Ensure that the transaction is still active.
23011: ERROR_OBTAINING_TRANSACTION_MANAGER
Cause: A UnitOfWork was rendered inactive before the associated externally managed transaction was complete.
Action: Examine the internal exception and take the appropriate action.