static SSLException toSSLException(Throwable e) {
        if (e instanceof SSLException) {
            return (SSLException) e;
        }
        return new SSLException(e);
    }
Wraps the given exception if it's not already a {@link SSLException}.
common/src/main/java/org/conscrypt/SSLUtils.java