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_OBTAINING_TSR |
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(String message) |
TransactionException(String message,
Exception internalException) |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
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 static final int ERROR_OBTAINING_TSR
public TransactionException(String message)
public static TransactionException jndiLookupException(String jndiName, Exception internalException)
public static TransactionException errorGettingExternalTransactionStatus(Exception internalException)
public static TransactionException errorGettingExternalTransaction(Exception internalException)
public static TransactionException errorBindingToExternalTransaction(Exception internalException)
public static TransactionException errorBeginningExternalTransaction(Exception internalException)
public static TransactionException errorCommittingExternalTransaction(Exception internalException)
public static TransactionException errorRollingBackExternalTransaction(Exception internalException)
public static TransactionException errorMarkingTransactionForRollback(Exception internalException)
public static TransactionException externalTransactionNotActive()
public static TransactionException inactiveUnitOfWork(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl unitOfWork)
public static TransactionException errorObtainingTransactionManager(Exception internalException)
public static TransactionException transactionNotActive()
public static TransactionException transactionIsActive()
public static TransactionException entityTransactionWithJTANotAllowed()
public static TransactionException multipleResourceException()
public static TransactionException internalProxyException(Exception ex1)
public static TransactionException entityTransactionNotActive()
public static TransactionException errorObtainingTsr(Exception internalException)
TransactionSynchronizationRegistry
instance failed.internalException
- TransactionException
causeTransactionException
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.