File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
core/src/main/java/com/scalar/db/storage/dynamo Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,7 @@ public void handle(List<? extends Mutation> mutations) throws ExecutionException
9696 // If all the reasons of the cancellation are "TransactionConflict", throw
9797 // RetriableExecutionException
9898 throw new RetriableExecutionException (
99- CoreError .DYNAMO_TRANSACTION_CONFLICT_OCCURRED_IN_MUTATION .buildMessage (
100- e .getMessage (), e ),
99+ CoreError .DYNAMO_TRANSACTION_CONFLICT_OCCURRED_IN_MUTATION .buildMessage (e .getMessage ()),
101100 e );
102101 }
103102
Original file line number Diff line number Diff line change @@ -53,8 +53,7 @@ public void handle(Delete delete) throws ExecutionException {
5353 throw new NoMutationException (CoreError .NO_MUTATION_APPLIED .buildMessage (), e );
5454 } catch (TransactionConflictException e ) {
5555 throw new RetriableExecutionException (
56- CoreError .DYNAMO_TRANSACTION_CONFLICT_OCCURRED_IN_MUTATION .buildMessage (
57- e .getMessage (), e ),
56+ CoreError .DYNAMO_TRANSACTION_CONFLICT_OCCURRED_IN_MUTATION .buildMessage (e .getMessage ()),
5857 e );
5958 } catch (DynamoDbException e ) {
6059 throw new ExecutionException (
Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ public void handle(Put put) throws ExecutionException {
5454 throw new NoMutationException (CoreError .NO_MUTATION_APPLIED .buildMessage (), e );
5555 } catch (TransactionConflictException e ) {
5656 throw new RetriableExecutionException (
57- CoreError .DYNAMO_TRANSACTION_CONFLICT_OCCURRED_IN_MUTATION .buildMessage (
58- e .getMessage (), e ),
57+ CoreError .DYNAMO_TRANSACTION_CONFLICT_OCCURRED_IN_MUTATION .buildMessage (e .getMessage ()),
5958 e );
6059 } catch (DynamoDbException e ) {
6160 throw new ExecutionException (
You can’t perform that action at this time.
0 commit comments