1 <?xml version="1.0" encoding="UTF-8"?>
3 <sect1 id="zend.exception.basic">
4 <title>Basic usage</title>
7 <classname>Zend_Exception</classname> is the base class for all exceptions thrown by Zend
8 Framework. This class extends the base <classname>Exception</classname> class of
9 <acronym>PHP</acronym>.
12 <example id="zend.exception.catchall.example">
13 <title>Catch all Zend Framework exceptions</title>
15 <programlisting language="php"><![CDATA[
18 } catch (Zend_Exception $e) {
24 <example id="zend.exception.catchcomponent.example">
25 <title>Catch exceptions thrown by a specific component of Zend Framework</title>
27 <programlisting language="php"><![CDATA[
30 } catch (Zend_Db_Exception $e) {