public class TransactionException extends EclipseLinkException
Modifier and Type | Field and Description |
---|---|
static int |
CANNOT_ENLIST_MULTIPLE_DATASOURCES |
static int |
ENTITY_TRANSACTION_WITH_JTA_NOT_ALLOWED |
static int |
ERROR_BEGINNING_TRANSACTION |
static int |
ERROR_BINDING_TO_TRANSACTION |
static int |
ERROR_COMMITTING_TRANSACTION |
static int |
ERROR_DOING_JNDI_LOOKUP |
static int |
ERROR_GETTING_TRANSACTION |
static int |
ERROR_GETTING_TRANSACTION_STATUS |
static int |
ERROR_INACTIVE_UOW |
static int |
ERROR_MARKING_TRANSACTION_FOR_ROLLBACK |
static int |
ERROR_NO_ENTITY_TRANSACTION_ACTIVE |
static int |
ERROR_NO_EXTERNAL_TRANSACTION_ACTIVE |
static int |
ERROR_NO_TRANSACTION_ACTIVE |
static int |
ERROR_OBTAINING_TRANSACTION_MANAGER |
static int |
ERROR_ROLLING_BACK_TRANSACTION |
static int |
ERROR_TRANSACTION_IS_ACTIVE |
static int |
EXCEPTION_IN_PROXY_EXECUTION |
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Constructor and Description |
---|
TransactionException(java.lang.String message) |
TransactionException(java.lang.String message,
java.lang.Exception internalException) |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
public static final int ERROR_DOING_JNDI_LOOKUP
public static final int ERROR_GETTING_TRANSACTION_STATUS
public static final int ERROR_GETTING_TRANSACTION
public static final int ERROR_OBTAINING_TRANSACTION_MANAGER
public static final int ERROR_BINDING_TO_TRANSACTION
public static final int ERROR_BEGINNING_TRANSACTION
public static final int ERROR_COMMITTING_TRANSACTION
public static final int ERROR_ROLLING_BACK_TRANSACTION
public static final int ERROR_MARKING_TRANSACTION_FOR_ROLLBACK
public static final int ERROR_NO_EXTERNAL_TRANSACTION_ACTIVE
public static final int ERROR_INACTIVE_UOW
public static final int ERROR_NO_TRANSACTION_ACTIVE
public static final int ERROR_TRANSACTION_IS_ACTIVE
public static final int ENTITY_TRANSACTION_WITH_JTA_NOT_ALLOWED
public static final int CANNOT_ENLIST_MULTIPLE_DATASOURCES
public static final int EXCEPTION_IN_PROXY_EXECUTION
public static final int ERROR_NO_ENTITY_TRANSACTION_ACTIVE
public TransactionException(java.lang.String message)
public TransactionException(java.lang.String message, java.lang.Exception internalException)
public static TransactionException jndiLookupException(java.lang.String jndiName, java.lang.Exception internalException)
public static TransactionException errorGettingExternalTransactionStatus(java.lang.Exception internalException)
public static TransactionException errorGettingExternalTransaction(java.lang.Exception internalException)
public static TransactionException errorBindingToExternalTransaction(java.lang.Exception internalException)
public static TransactionException errorBeginningExternalTransaction(java.lang.Exception internalException)
public static TransactionException errorCommittingExternalTransaction(java.lang.Exception internalException)
public static TransactionException errorRollingBackExternalTransaction(java.lang.Exception internalException)
public static TransactionException errorMarkingTransactionForRollback(java.lang.Exception internalException)
public static TransactionException externalTransactionNotActive()
public static TransactionException inactiveUnitOfWork(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl unitOfWork)
public static TransactionException errorObtainingTransactionManager(java.lang.Exception internalException)
public static TransactionException transactionNotActive()
public static TransactionException transactionIsActive()
public static TransactionException entityTransactionWithJTANotAllowed()
public static TransactionException multipleResourceException()
public static TransactionException internalProxyException(java.lang.Exception ex1)
public static TransactionException entityTransactionNotActive()