- public void onFailure(final Throwable t) {
- LOG.error("executeRpc for {} failed with root cause: {}. For exception details, enable Debug logging.",
- msg.getRpc(), Throwables.getRootCause(t));
- if(LOG.isDebugEnabled()) {
- LOG.debug("Detailed exception for execute RPC failure :{}", t);
+ public void onFailure(final Throwable failure) {
+ LOG.error(
+ "executeRpc for {} failed with root cause: {}. For exception details, enable Debug logging.",
+ msg.getRpc(), Throwables.getRootCause(failure));
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("Detailed exception for execute RPC failure :{}", failure);