View Single Post
Old 07-06-2009, 11:45 AM   #4 (permalink)
captainmerton
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 178
Thanks: 9
captainmerton is on a distinguished road
Default

One observation I have if my understanding of how exceptions work in PHP is correct is that should I wish to throw several exceptions eg. on validation of input from a form then this would not be possible because as soon as the first exception object was instantiated control would pass back to the "catch" clause (eg. should i want to create exceptions for every input field not correctly populated on the form and then displayed back as exceptions to the user) Surely this cannot be a correct understanding?
captainmerton is offline  
Reply With Quote