title: php custom exception handling
body: <p>I am wanting to handle exceptions in my PHP application myself.</p>
  
  <p>When I throw an exception I am wanting to pass along a title to be used in the error page.</p>
  
  <p>Can someone please link me to a good tutorial, or write a clear explanation of how the exception handling actually works (eg how to know what sort of exception you are dealing with, etc.</p>