@Override
    public void onFailure(Response response, Throwable t, JSONObject extendedInfo) {
        if (isAuthorizationRequired(response)) {
            processResponseWrapper(response, true);
        } else {
            listener.onFailure(response, t, extendedInfo);
        }
    }
@ Override public void onFailure ( Response response , Throwable t , JSONObject extendedInfo ) { if ( isAuthorizationRequired ( response ) ) { processResponseWrapper ( response , true ) ; } else { listener . onFailure ( response , t , extendedInfo ) ; } }
Called when request fails.

@param response Contains detail regarding why the request failed
@param t        Exception that could have caused the request to fail. Null if no Exception thrown.