Re: handling failure in RiakCommand#execute

2015-11-16 Thread Alex Moore
Hey David, If you use the synchronous RiakCommand.execute method and it errors out, then the method will returned a checked ExecutionException wrapping the original exception ( https://github.com/basho/riak-java-client/blob/develop/src/main/java/com/basho/riak/client/api/RiakCommand.java#L85), whi

handling failure in RiakCommand#execute

2015-11-13 Thread David Byron
From my reading of RiakCommand#execute (https://github.com/basho/riak-java-client/blob/develop/src/main/java/com/basho/riak/client/api/RiakCommand.java#L85), I'm curious why there's no call to future.isSuccess() I can imagine that future.await() throws an exception for all possible failures,