[PEPr] +1 for HTTP::HTTP_FloodControl
| From: | Greg Beaver | Date: | Tue, 13 Mar 2007 03:36:23 +0000 |
| Subject: | [PEPr] +1 for HTTP::HTTP_FloodControl | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45881@lists.php.net to get a copy of this message | ||
Greg Beaver (http://pear.php.net/user/cellog) has voted +1 on the proposal for
HTTP::HTTP_FloodControl.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=476
Vote information:
http://pear.php.net/pepr/pepr-vote-show.php?id=476&handle=cellog
This vote is conditional. The condition is:
Interesting package.
you need to extend PEAR_Exception so that users can catch exceptions specific to your package
try {
$blah->check('whatever'); //...
} catch (HTTP_FloodControl_Exception $e) {
}
just add in
class HTTP_FloodControl_Exception extends PEAR_Exception {}
and that will be fine.
also a minor note:
in the File container, you have a minor typo "temprorary" instead of "temporary"
--
Sent by PEPr, the automatic proposal system at http://pear.php.net