@Override public IgniteException apply(IgniteCheckedException e) { if (e.getCause() instanceof TransactionDeadlockException) return new TransactionTimeoutException(e.getMessage(), e.getCause()); return new TransactionTimeoutException(e.getMessage(), e); } });
case "EntryProcessorException": throw new EntryProcessorException(arg); case "TransactionOptimisticException": throw new TransactionOptimisticException(arg); case "TransactionTimeoutException": throw new TransactionTimeoutException(arg); case "TransactionRollbackException": throw new TransactionRollbackException(arg); case "TransactionHeuristicException": throw new TransactionHeuristicException(arg);
@Override public IgniteException apply(IgniteCheckedException e) { if (e.getCause() instanceof TransactionDeadlockException) return new TransactionTimeoutException(e.getMessage(), e.getCause()); return new TransactionTimeoutException(e.getMessage(), e); } });