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

Commit e3434fc4 authored by Brian Carlstrom's avatar Brian Carlstrom Committed by Gerrit Code Review
Browse files

Merge "Improve detail message for X509TrustManagerExtensions argument validation"

parents ab561f5b ff9ca781
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");
        }
    }