if (password != null)
builder.setPassword(password);
try {
builder.sendRequest(body, handler);
} catch (RequestException exception) {
handler.onError(null, exception);
}
}
public void addFailureListener(JsonRpcFailureListener listener) {
failureListeners.add(listener);