svn: /phpdoc/en/trunk/reference/spl/ underflowexception.xml
| From: | Levi Morrison | Date: | Mon, 19 Dec 2011 03:04:17 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/spl/ underflowexception.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9250@lists.php.net to get a copy of this message | ||
levim Mon, 19 Dec 2011 03:04:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=321147
Log:
Extended the use of the exception to include any operation that is not allowed on an empty
container. The reason is that peek on an empty container should result in an underflow exception.
Changed paths:
U phpdoc/en/trunk/reference/spl/underflowexception.xml
Modified: phpdoc/en/trunk/reference/spl/underflowexception.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/underflowexception.xml 2011-12-19 03:02:22 UTC (rev 321146)
+++ phpdoc/en/trunk/reference/spl/underflowexception.xml 2011-12-19 03:04:17 UTC (rev 321147)
@@ -15,7 +15,8 @@
<section xml:id="underflowexception.intro">
&reftitle.intro;
<para>
- Exception thrown when you try to remove an element of an empty container.
+ Exception thrown when performing an invalid operation on an empty
+ container, such as removing an element.
</para>
</section>
<!-- }}} -->