Exception handling -- display line number where error occurred?
<p>Can someone please tell me how to get the line number of the code where the error occurred and display it to the console?</p>

<p>Other information like the file name or method name would be very handy.</p>
