code: private static SSLException asSSLException(Exception e) throws SSLException {
          if (e instanceof SSLException)
              return (SSLException) e;
          return new SSLException(e.getMessage(), e);
      }
docs: Convenience method to wrap any other exception as an {@link SSLException}.
  
  @param e
  The exception to be wrapped or re-thrown.
  @return the original exception, or a new {@link SSLException} to wrap it