incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject another thrift proposal
Date Thu, 30 Apr 2009 16:38:20 GMT
currently the _blocking methods return false if the update failed, but
this feels strange when everything else uses exceptions to indicate a
problem.  Mixing if (status) with try/catch feels clunky.

I propose adding an UpdateFailedException for failures instead of a boolean.

(This is also consistent with the rdbms APIs I'm familiar with in
languages that have exception facilities.)

-Jonathan

Mime
View raw message