@Override public IgniteException apply(IgniteCheckedException e) { return new TransactionOptimisticException(e.getMessage(), e); } });
info("Optimistic transaction failure (will rollback) [msg=" + e.getMessage() + ", tx=" + tx.xid() + ']');
case "CacheWriterException": throw new CacheWriterException(arg); case "EntryProcessorException": throw new EntryProcessorException(arg); case "TransactionOptimisticException": throw new TransactionOptimisticException(arg); case "TransactionTimeoutException": throw new TransactionTimeoutException(arg); case "TransactionRollbackException": throw new TransactionRollbackException(arg);
@Override public IgniteException apply(IgniteCheckedException e) { return new TransactionOptimisticException(e.getMessage(), e); } });