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

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

am 7156b7c6: am b11952d6: am e3434fc4: Merge "Improve detail message for...

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

* commit '7156b7c6':
  Improve detail message for X509TrustManagerExtensions argument validation
parents 285aae15 7156b7c6
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");
        }
    }