cvs: peardoc /en/core/pear/pear-errorstack intro.xml
| From: | Greg Beaver | Date: | Tue, 02 Nov 2004 08:10:50 +0000 |
| Subject: | cvs: peardoc /en/core/pear/pear-errorstack intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5071@lists.php.net to get a copy of this message | ||
cellog Tue Nov 2 03:10:50 2004 EDT
Modified files:
/peardoc/en/core/pear/pear-errorstack intro.xml
Log:
add BC warning
http://cvs.php.net/diff.php/peardoc/en/core/pear/pear-errorstack/intro.xml?r1=1.7&r2=1.8&ty=u
Index: peardoc/en/core/pear/pear-errorstack/intro.xml
diff -u peardoc/en/core/pear/pear-errorstack/intro.xml:1.7
peardoc/en/core/pear/pear-errorstack/intro.xml:1.8
--- peardoc/en/core/pear/pear-errorstack/intro.xml:1.7 Sat Aug 21 14:03:29 2004
+++ peardoc/en/core/pear/pear-errorstack/intro.xml Tue Nov 2 03:10:50 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry id="core.pear.pear-errorstack.intro">
<refnamediv>
<refname>Introduction to using PEAR_ErrorStack for advanced error handling</refname>
@@ -572,6 +572,12 @@
?>]]>
</programlisting>
</para>
+ <warning>
+ <title>Backward Compatibility break</title>
+ <para>
+ As of PEAR 1.3.2, PEAR_ErrorStack->push() no longer returns an exception class. Code
that relies on this behavior will not work
+ </para>
+ </warning>
<para>
PEAR_ErrorStack will return an exception automatically in PHP 5. You can set the exception
class name that will
be returned using the following code: