Exceptional PHP: Extending The Base Exception Class
One of the things that you can (and should) do with PHP exceptions is extend them to suit your own purposes. While the base Exception class in PHP is neither abstract nor impossible to use on its own, extending exceptions give you a great amount of flexibility and power, particularly in three areas: customization, identification, and abstraction.
Wanted: PHP Developer at Tekdi Web Solutions (Pune, MH, India). See this and other great job listings on the jobs page.
Want to have your say? just login


Be first to show your opinion !!!