Programmer's Reference Guide
Basic usage
Zend_Exception is the base class for all exceptions thrown by Zend
Framework. This class extends the base Exception class of
PHP.
Example #1 Catch all Zend Framework exceptions
try {
// your code
} catch (Zend_Exception $e) {
// do something
}
Example #2 Catch exceptions thrown by a specific component of Zend Framework
try {
// your code
} catch (Zend_Db_Exception $e) {
// do something
}
Select a Version
Languages Available
Components
+ Add A Comment
Please do not report issues via comments; use the ZF Issue Tracker.
If you have a JIRA/Crowd account, we suggest you login first before commenting.