reference/yaf/yaf_dispatcher/catchexception.xml
49d4fb555745d1981edac87a5a2d8ae53b5f75df
...
...
@@ -15,8 +15,8 @@
15
15
</methodsynopsis>
16
16
<para>
17
17
While the application.dispatcher.throwException is On(you can also calling
18
-
to <methodname>Yaf_Dispatcher::throwException(TRUE)</methodname> to enable it), Yaf will throw Exception whe
19
-
error occurrs instead of trigger error.
18
+
to <methodname>Yaf_Dispatcher::throwException(TRUE)</methodname> to enable it), Yaf will throw Exception when
19
+
error occurs instead of trigger error.
20
20
</para>
21
21
<para>
22
22
then if you enable <methodname>Yaf_Dispatcher::catchException</methodname>(also can enabled by set
...
...
@@ -49,7 +49,7 @@
49
49
<refsect1 role="examples">
50
50
&reftitle.examples;
51
51
<example>
52
-
<title><function>Yaf_Dispatcher::catchException</function>example</title>
52
+
<title><function>Yaf_Dispatcher::catchException</function> example</title>
53
53
<programlisting role="php">
54
54
<![CDATA[
55
55
/* if you defined a ErrorController like following */
56
56