Search in sources :

Example 1 with DalTransactionConflictException

use of com.ctrip.platform.dal.exceptions.DalTransactionConflictException in project dal by ctripcorp.

the class DalTransaction method logExceptionOnRollbackConflicted.

private void logExceptionOnRollbackConflicted() {
    String message = transactionHelper.getTransactionConflictMessage(transactionStatusWrapperMap);
    transactionStatusWrapperMap.clear();
    DalTransactionConflictException exception = new DalTransactionConflictException(ErrorCode.TransactionStateConflicted, message);
    logger.error(ErrorCode.TransactionStateConflicted.getMessage(), exception);
}
Also used : DalTransactionConflictException(com.ctrip.platform.dal.exceptions.DalTransactionConflictException)

Aggregations

DalTransactionConflictException (com.ctrip.platform.dal.exceptions.DalTransactionConflictException)1