title: Catch Try has me confused in Android Studio debugging
body: <p>I'm trying to debug this bit of code in Android Studio.  It all seem pretty straight forward but the 'return sb1' in the try won't allow me to break on it (a red dot with an x) and says it's not executable.</p>
  
  <pre><code>    public static String postRecordOnServer(String url,
         ArrayList&lt;NameValuePair&gt; nameValuePairs) {
  
         String message = "";
         InputStream is = null;
         try {
              HttpParams httpParameters = new BasicHttpParams();
              int timeoutConnection = 3000;
              HttpConnectionParams.setConnectionTimeout(httpParameters,
                      timeoutConnection);
              int timeoutSocket = 5000;
              HttpConnectionParams.setSoTimeout(httpParameters, timeoutSocket);
  
              HttpClient httpclient = new DefaultHttpClient(httpParameters);
              HttpPost httppost = new HttpPost(url);
              httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
              HttpResponse response = httpclient.execute(httppost);
              HttpEntity entity = response.getEntity();
              is = entity.getContent();
  
              BufferedReader reader = new BufferedReader(new InputStreamReader(
                      is, "iso-8859-1"), 8);
              StringBuilder sb = new StringBuilder();
              sb.append(reader.readLine());
              String sb1 = sb.toString().toUpperCase();
              reader.close();
              is.close();
              return sb1;
          } catch (Exception e) {
              message = e.getMessage();
          }
          return "EXCEPTION:" + message;
      }
  </code></pre>
  
  <p>And even though it always returns the 'EXCEPTION' calling function gets a NULL result value. 
  The Catch is never fired.</p>
  
  <p>Any suggestions?</p>