» Details |
---|
|
» Comment |
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" |