public Boolean execute(TransactionServiceThriftClient client)
throws Exception {
try {
return client.canCommit(tx, changeIds);
} catch (TTransactionNotInProgressException e) {
throw new TransactionNotInProgressException(e.getMessage());
}
}
});
} catch (TransactionNotInProgressException e) {
throw e;