Code example for SslError

Methods: toString

        public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { 
            Log.d(TAG, "[onReceivedSslError]"); 
            String message = error.toString(); 
            Log.e(TAG, message); 
    private void logAndToast(String message) {
        Log.d(TAG, message);
        Toast.makeText(this, message, Toast.LENGTH_LONG).show();
     * This parses the Capture access token out of the sentinel URL 
     * @param url 
     *  The sentinel URL to parse the access token from.