code: public void incrementExceptionCount(Throwable throwable) {
  
          if (throwable instanceof ServiceUnavailableException) {
              serviceUnavailableExceptionCounter.incrementAndGet();
          } else if (containsThrowableOfType(throwable, communicationExceptionsTypes)) {
              communicationExceptionCounter.incrementAndGet();
          } else if (containsThrowableOfType(throwable, businessExceptionsTypes)) {
              businessExceptionCounter.incrementAndGet();
          } else {
              otherExceptionCounter.incrementAndGet();
          }
      }
docs: Increment the {@link #communicationExceptionCounter} if the given
  throwable or one of its cause is an instance of on of
  {@link #communicationExceptionsTypes} ; otherwise, increment
  {@link #otherExceptionCounter}.