Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b11952d6 authored by Brian Carlstrom's avatar Brian Carlstrom Committed by Android Git Automerger
Browse files

am e3434fc4: Merge "Improve detail message for X509TrustManagerExtensions argument validation"

* commit 'e3434fc4':
  Improve detail message for X509TrustManagerExtensions argument validation
parents 439145f0 e3434fc4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -56,7 +56,8 @@ public class X509TrustManagerExtensions {
        if (tm instanceof TrustManagerImpl) {
            mDelegate = (TrustManagerImpl) tm;
        } else {
            throw new IllegalArgumentException("tm is not a supported type of X509TrustManager");
            throw new IllegalArgumentException("tm is an instance of " + tm.getClass().getName() +
                    " which is not a supported type of X509TrustManager");
        }
    }