Re: PHP5: PEAR base Exception classes

From: Date: Mon, 21 Jun 2004 22:11:24 +0000
Subject: Re: PHP5: PEAR base Exception classes
References: 1 2 3 4 5 6 7 8  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31066@lists.php.net to get a copy of this message
Quoting Tobias Schlitt <tobias@schlitt.info>:
How is this different from just catching all Exceptions? (catch Exception e)
If you have own exceptions inside the code throwen, you might want to handle them in another way.
So you catch your own exceptions, and then fall back to catching all Exceptions. I can see reasons to provide this as an *option*, but I think that to, again, have a basic error handling feature that means that all PEAR classes are pretty much *required* to include the base files and extend classes is a mistake. -chuck -- "Regard my poor demoralized mule!" - Juan Valdez

« previous php.pear.dev (#31066) next »