[jira] [Commented] (CASSANDRA-4692) improve error messages: InvalidRequestException(why:Expected 8 or 0 byte long (4))

2013-07-19 Thread Konrad K (JIRA)

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

Konrad K commented on CASSANDRA-4692:
-

Sorry if my question turns out to be silly: if the place that throws this 
exception doesn't know on what column it is working on than maybe we could 
catch this exception somewhere up and add this information? I guess this would 
require changing class of this exception so that we could easily catch it.

> improve error messages: InvalidRequestException(why:Expected 8 or 0 byte long 
> (4))
> --
>
> Key: CASSANDRA-4692
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4692
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Michael Krumpholz
>Priority: Trivial
>  Labels: cql, datatypes, error, exceptions, jdbc
>
> {noformat}
> InvalidRequestException(why:Expected 8 or 0 byte long (4))
> {noformat}
> The error messages could be much more informative and helpful if the column 
> names would be included in the message. Oh, before this question arises: the 
> messages are generated within cassandra code even if it may be in the Jdbc* 
> typed classes (not part of the jdbc project).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-4692) improve error messages: InvalidRequestException(why:Expected 8 or 0 byte long (4))

2013-03-23 Thread Jonathan Ellis (JIRA)

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

Jonathan Ellis commented on CASSANDRA-4692:
---

Generally, the code that raises those exceptions doesn't know what the column 
is named, or it would include it.

> improve error messages: InvalidRequestException(why:Expected 8 or 0 byte long 
> (4))
> --
>
> Key: CASSANDRA-4692
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4692
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Michael Krumpholz
>Priority: Trivial
>  Labels: cql, datatypes, error, exceptions, jdbc
>
> {noformat}
> InvalidRequestException(why:Expected 8 or 0 byte long (4))
> {noformat}
> The error messages could be much more informative and helpful if the column 
> names would be included in the message. Oh, before this question arises: the 
> messages are generated within cassandra code even if it may be in the Jdbc* 
> typed classes (not part of the jdbc project).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira