class ClusterProxyErrorRpcListener implements JsonRpcClient.RequestListener {

    @Override
    public void onBeforeResponseProcessed(JsonRpcClient client, ObjectNode response) {
        throwIfClusterProxyError(response);
    }

}