- if (mCode == ResultCode.SSL_ERROR) {
- if (mException instanceof CertificateCombinedException)
- result = (CertificateCombinedException)mException;
- Throwable cause = mException.getCause();
- Throwable previousCause = null;
- while (cause != null && cause != previousCause && !(cause instanceof CertificateCombinedException)) {
- previousCause = cause;
- cause = cause.getCause();
- }
- if (cause != null && cause instanceof CertificateCombinedException)
- result = (CertificateCombinedException)cause;