Difference between printStackTrace() and toString()
<p>I'm curious as to what the difference is between printStackTrace() and toString().
At first sight, they <strong>seem</strong> to do the exact same thing.</p>

<p>Code:</p>

<pre><code>try {
// Some code
} catch (Exception e)
   e.printStackTrace();
   // OR
   e.toString()
}
</code></pre>
