You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/02/25 20:59:21 UTC

[jira] Commented: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Jonathan Ellis commented on CASSANDRA-2251:
-------------------------------------------

maybe we should move the check into getKeyspace?  there's a bunch of callers that don't call vCF afterwards.

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace-argument.txt
>
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira