Brandon Savage's Blog: Exceptional PHP: Extending The Base Excep...

Courtesy PHPDeveloper.org  Wed, 11/11/2009 - 10:50

Brandon Savage has posted the next part of his series looking at exceptions in PHP.

This new article shows how to create a custom exception layer on top of the built-in handling.

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...


 

More related items

Brandon Savage's Blog: Peer Review: Looking At...
Brandon Savage has posted his latest part of his "Peer Review" series. He takesa step back and looks at abstraction again, this time incorporating some of the suggestions other members of...

Brandon Savage's Blog: Peer Review: Looking Into...
Brandon Savage has posted his latest article in his series looking at refactoring a piece of code (starting here) focusing in on the abstraction already in the code and how it can be made...

Some Soul Searching - Brandon Savage
This entry isn’t about PHP. It’s about where those of us who develop for a living, PHP or otherwise, see ourselves in the future. From time to time I do some soul searching and think...

HP W1907 19-inch Widescreen Flat Panel LCD Monitor
With a resolution of 1440 x 900 and wide workspace, you can watch videos, edit photos, surf the net or play games with the HP W1907. Its wide aspect ratio and fast response time bring work...

NZXT ACC-NT-CRYO-S 120MM Aluminum Notebook Cooler...
CRYO LX SILVER - ALUMINUM COOLER FOR POWER NOTEBOOKS


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com