code: private void handleAuthorizationFailure(Response response, Throwable t, JSONObject extendedInfo) {
          logger.error("authorization process failed");
  
          if (t != null) {
              t.printStackTrace();
          }
  
          Iterator<ResponseListener> iterator = authorizationQueue.iterator();
  
          while(iterator.hasNext()) {
              ResponseListener next = iterator.next();
              next.onFailure(response, t, extendedInfo);
              iterator.remove();
          }
      }
docs: Handle failure in the authorization process. All the response listeners will be updated with
  failure
  @param response response that caused to failure
  @param t additional info about the failure