cvs: peardoc /en/core/pear pear-exception.xml
[email protected] ("Alexander Merz")
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <cvsalexmerz1197268941@cvsserver> |
alexmerz Mon Dec 10 06:42:21 2007 UTC
Modified files:
/peardoc/en/core/pear pear-exception.xml
Log:
this is a no-go in a documentation, lets find a more useful one
http://cvs.php.net/viewvc.cgi/peardoc/en/core/pear/pear-exception.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/core/pear/pear-exception.xml
diff -u peardoc/en/core/pear/pear-exception.xml:1.2 peardoc/en/core/pear/pear-exception.xml:1.3
--- peardoc/en/core/pear/pear-exception.xml:1.2 Mon Dec 10 06:37:32 2007
+++ peardoc/en/core/pear/pear-exception.xml Mon Dec 10 06:42:21 2007
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<sect1 id="core.pear.pear-exception">
<title>PEAR_Exception - PHP 5+</title>
<titleabbrev>PEAR_Exception</titleabbrev>
@@ -9,6 +9,7 @@
ability to specify causes for errors, register observers, and many more
features.
</para>
+<!-- Examples should always show recommended practice
<para>Example usage (demonstration only, not recommended practice):
<programlisting role="php">
<![CDATA[
@@ -33,6 +34,7 @@
]]>
</programlisting>
</para>
+ -->
<para>
Exceptions in general should be used only for exceptional circumstances - for
error conditions that require termination of execution. PEAR_Exception should