@Override public IgniteException apply(IgniteCheckedException e) { return new TransactionOptimisticException(e.getMessage(), e); } });
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); } });