title: IF and ELSE in TRY CATCH?
body: <p>I have this code</p>
  
  <pre><code>root = new Root();
  root.checkRootMethod2();
  TextView=(TextView)view.findViewById(R.id.textView4); 
  
  if(root.checkRootMethod2()) {
      TextView.setText(Html.fromHtml("&lt;b&gt;TEXT 01&lt;/b&gt;&lt;br&gt;"));
  } else {
      TextView.setText(Html.fromHtml("&lt;b&gt;TEXT 02&lt;/b&gt;&lt;br&gt;"));
  }
  
  try {
      if (root.RootAvailibility() &amp;&amp; (root.checkRootMethod3())) {
          try {
              Process process = Runtime.getRuntime().exec("su");
              OutputStream stdin = process.getOutputStream();
              stdin.flush();
              stdin.close();
          } catch(Exception e) {
          }
          TextView.append(Html.fromHtml(
              "&lt;b&gt;&lt;font color=\"green\"&gt;TEXT 03&lt;/b&gt;&lt;/font&gt;"));
      }
  } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  
  try {
      root.busybox();
      TextView.append(Html.fromHtml(
          "&lt;br&gt;&lt;b&gt;&lt;font color=\"green\"&gt;TEXT 04&lt;/b&gt;&lt;/font&gt;"));
  } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  } catch(Exception e) {
      TextView.append(Html.fromHtml(
          "&lt;br&gt;&lt;b&gt;&lt;font color=\"red\"&gt;TEXT05&lt;/b&gt;&lt;/font&gt;"));
  }
  </code></pre>
  
  <p>I wish that if  <code>if (root.RootAvailibility() &amp;&amp; (root.checkRootMethod3())) return true</code> Viewing a <code>TextView</code> that says something.If return false, another TextView that displays something else. As happens for <code>root.checkRootMethod2 ();</code> Same goes for <code>root.busybox ();</code> Do you have any idea on how I can do? Now visualize always <code>Text04</code> </p>