title: Jsoup: Android App crashes
body: <p>I have this following code:</p>
  
  <pre><code>String webPage = "http://www.something.com";
  String html = null;
  
  try{
        html = Jsoup.connect(webPage).get().html();
  } catch (Exception e) {
        e.printStackTrace();
  }
  Toast.makeText(this, html, Toast.LENGTH_SHORT).show();
  </code></pre>
  
  <p>If its the Exception <code>Exception</code> the code does the other stuff (before this code) and does not do the code in <code>try{}</code>, if the Exception is <code>IOException</code>, the app crashes</p>