static DnsException translateAndThrow ( RetryHelperException ex ) { BaseServiceException . translate ( ex ) ; throw new DnsException ( UNKNOWN_CODE , ex . getMessage ( ) , ex . getCause ( ) ) ; }
Translate RetryHelperException to the DnsException that caused the error . This method will always throw an exception .