Fields Summary |
---|
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_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_OBTAINING_TRANSACTION_MANAGER |
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 |
Methods Summary |
---|
public static oracle.toplink.essentials.exceptions.TransactionException | entityTransactionWithJTANotAllowed()
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ENTITY_TRANSACTION_WITH_JTA_NOT_ALLOWED, args));
ex.setErrorCode(ENTITY_TRANSACTION_WITH_JTA_NOT_ALLOWED);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | errorBeginningExternalTransaction(java.lang.Exception internalException)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_BEGINNING_TRANSACTION, args));
ex.setErrorCode(ERROR_BEGINNING_TRANSACTION);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | errorBindingToExternalTransaction(java.lang.Exception internalException)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_BINDING_TO_TRANSACTION, args));
ex.setErrorCode(ERROR_BINDING_TO_TRANSACTION);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | errorCommittingExternalTransaction(java.lang.Exception internalException)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_COMMITTING_TRANSACTION, args));
ex.setErrorCode(ERROR_COMMITTING_TRANSACTION);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | errorGettingExternalTransaction(java.lang.Exception internalException)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_GETTING_TRANSACTION, args));
ex.setErrorCode(ERROR_GETTING_TRANSACTION);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | errorGettingExternalTransactionStatus(java.lang.Exception internalException)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_GETTING_TRANSACTION_STATUS, args));
ex.setErrorCode(ERROR_GETTING_TRANSACTION_STATUS);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | errorMarkingTransactionForRollback(java.lang.Exception internalException)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_MARKING_TRANSACTION_FOR_ROLLBACK, args));
ex.setErrorCode(ERROR_MARKING_TRANSACTION_FOR_ROLLBACK);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | errorObtainingTransactionManager(java.lang.Exception internalException)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_OBTAINING_TRANSACTION_MANAGER, args));
ex.setErrorCode(ERROR_OBTAINING_TRANSACTION_MANAGER);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | errorRollingBackExternalTransaction(java.lang.Exception internalException)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_ROLLING_BACK_TRANSACTION, args));
ex.setErrorCode(ERROR_ROLLING_BACK_TRANSACTION);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | externalTransactionNotActive()
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_NO_EXTERNAL_TRANSACTION_ACTIVE, args));
ex.setErrorCode(ERROR_NO_EXTERNAL_TRANSACTION_ACTIVE);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | inactiveUnitOfWork(oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl unitOfWork)
Object[] args = { unitOfWork };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_INACTIVE_UOW, args));
ex.setErrorCode(ERROR_INACTIVE_UOW);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | internalProxyException(java.lang.Exception ex1)
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, EXCEPTION_IN_PROXY_EXECUTION, args), ex1);
ex.setErrorCode(EXCEPTION_IN_PROXY_EXECUTION);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | jndiLookupException(java.lang.String jndiName, java.lang.Exception internalException)
Object[] args = { jndiName };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_DOING_JNDI_LOOKUP, args));
ex.setErrorCode(ERROR_DOING_JNDI_LOOKUP);
ex.setInternalException(internalException);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | multipleResourceException()
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, CANNOT_ENLIST_MULTIPLE_DATASOURCES, args));
ex.setErrorCode(CANNOT_ENLIST_MULTIPLE_DATASOURCES);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | transactionIsActive()
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_TRANSACTION_IS_ACTIVE, args));
ex.setErrorCode(ERROR_TRANSACTION_IS_ACTIVE);
return ex;
|
public static oracle.toplink.essentials.exceptions.TransactionException | transactionNotActive()
Object[] args = { };
TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_NO_TRANSACTION_ACTIVE, args));
ex.setErrorCode(ERROR_NO_TRANSACTION_ACTIVE);
return ex;
|