title: Printing the stack trace vs the exception itself
body: <p>quick question. Of course the stack trace gives way more information, but is it a bad practice to use the exception itself instead in some cases? Like just getting "null pointer exception" as opposed to this huge dump of stuff? If this doesn't make any sense, the two differences would be:</p>
  
  <pre><code>(Exception e)
  {
    print e
  }
  
  AND
  
  (Exception e)
  {
    e.printStackTrace
  }
  </code></pre>