code: static DnsException translateAndThrow(RetryHelperException ex) {
      BaseServiceException.translate(ex);
      throw new DnsException(UNKNOWN_CODE, ex.getMessage(), ex.getCause());
    }
docs: Translate RetryHelperException to the DnsException that caused the error. This method will
  always throw an exception.
  
  @throws DnsException when {@code ex} was caused by a {@code DnsException}