You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2015/05/19 13:14:00 UTC
[jira] [Created] (CASSANDRA-9421) TriggerExecutor should not wrap
all execution exceptions in a RuntimeException
Sam Tunnicliffe created CASSANDRA-9421:
------------------------------------------
Summary: TriggerExecutor should not wrap all execution exceptions in a RuntimeException
Key: CASSANDRA-9421
URL: https://issues.apache.org/jira/browse/CASSANDRA-9421
Project: Cassandra
Issue Type: Bug
Reporter: Sam Tunnicliffe
It may be desirable to have implementations of {{ITrigger#augment}} throw {{RequestValidationException}} or {{RequestExecutionException}} when conditions for applying the trigger are not met (see CASSANDRA-9334 for more discussion). {{TriggerExecutor#executeInternal}} currently catches any exception thrown by a trigger, wraps it in a {{RuntimeException}} and rethrows. It would be better to allow {{CassandraExceptions}} to propagate back to clients directly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)