public boolean failedOnException() {
    return serviceException != null;
  }
Returns whether or not a server exception was generated in the prior RPC invocation.
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/ServerRpcController.java