PHP5Beta4: Pear Error class and throwing exceptions
| From: | Erik Franzén | Date: | Sun, 22 Feb 2004 19:06:25 +0000 |
| Subject: | PHP5Beta4: Pear Error class and throwing exceptions | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-25776@lists.php.net to get a copy of this message | ||
From PHP5beta4 it is not longer possible to throw a PEAR_Error object as an exception since PHP5 will trigger an error saying that exceptions must be valid objects that are derived from the built in class exception.
This means that the PEAR_Error class cannot any longer be thrown as an exception since it is not derived from the built in exception class in PHP5.
Any comments on this?
/Erik