code: protected SQLException translateException(Exception e) {
          if (isAcquireTimeoutException(e)) {
              eventPublisher.publish(new ConnectionAcquireTimeoutEvent(configurationProperties.getUniqueName()));
              return new AcquireTimeoutException(e);
          } else if (e instanceof SQLException) {
              return (SQLException) e;
          }
          return new SQLException(e);
      }
docs: Translate the thrown exception to {@link com.vladmihalcea.flexypool.exception.AcquireTimeoutException}.
  
  @param e caught exception
  @return translated exception