cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6946) Catching RequestExecutionException instead of Throwable
Date Fri, 28 Mar 2014 15:28:24 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950889#comment-13950889
] 

Jonathan Ellis commented on CASSANDRA-6946:
-------------------------------------------

This is saying, "no matter what caused revoke to fail, log a human-readable error instead
of a raw stack trace"

> Catching RequestExecutionException instead of Throwable
> -------------------------------------------------------
>
>                 Key: CASSANDRA-6946
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6946
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Ding Yuan
>            Priority: Trivial
>         Attachments: trunk-overthrow.txt
>
>
> In CassandraAuthorizer.java, there are a few cases where a Throwable is used to catch
RequestExecutionException. Propose to catch the exact exception. Attaching a patch against
trunk for review. Thanks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message