title: Catch Android MediaPlayer errors
body: <p>I want to catch MediaPlayer errors like this: </p>
  
  <pre><code>01-03 21:03:08.797: E/MediaPlayer(9470): error (1, -2147483648)
  </code></pre>
  
  <p>or this  </p>
  
  <pre><code>01-03 20:52:48.859: E/MediaPlayer(8674): error (1, -1004)
  </code></pre>
  
  <p>Which exception do I need to catch? I tried it with</p>
  
  <pre><code>    try {
          mp.start();
      }
  
      catch (IllegalArgumentException e){Log.d(TAG, "error1");}
      catch (IllegalStateException e) {Log.d(TAG, "error2");}
      catch (Exception e){Log.d(TAG, "error2");}
  </code></pre>
  
  <p>But it doesn't work. Can anyone tell me which exception I have to catch?</p>