Find out what exception is being thrown in PHP
<p>I'm trying to learn PHP on the fly here, and something is broken, but I am unsure how to figure out what the problem is.  An exception is being thrown, and I was able to isolate the line that is throwing the exception by printing debugging messages, but how do I figure out the nature of the error that is being thrown?  All that happens is my php code stops executing.</p>
