title: Android Exception getCause - getMessage
body: <p>Using the <code>BitmapFactory.decodeStream</code> function, I've got the following exception</p>
  
  <pre><code>02-22 13:24:34.129: W/System.err(7927): java.io.FileNotFoundException: toto.jpg
  </code></pre>
  
  <p>In the catch clause, a <code>e.getMessage()</code> produces </p>
  
  <pre><code>toto.jpg
  </code></pre>
  
  <p>But how the get the</p>
  
  <pre><code>java.io.FileNotFoundException 
  </code></pre>
  
  <p>I tried <code>e.getCause()</code> but it returns <code>null</code></p>