In addition to supporting the default signature of the built-in Exception class, pear2\Exception also supports passing a cause of an exception, which can be another exception object or a PEAR2_MultiErrors object. The error messages of the causes are used when constructing the error message displayed when converting pear2\Exception to a string.

pear2\Exception should always be extended by your own custom exception class for the package.

Release Notes - 0.1.0

Initial Release


$ php pyrus.phar install PEAR2_Exception-0.1.0
Status: 0.1.0 alpha, released on July 7, 2009
License: New BSD License
Maintained: yes

Browse Files

6 files in 8 directories.

Dependencies for PEAR2_Exception

  • PHP ≥ 5.2.0