Re: svn: /phpdoc/en/trunk/reference/spl/ splheap/extract.xml splheap/top.xml splobjectstorage/offsetget.xml
| From: | Peter Cowburn | Date: | Wed, 14 Dec 2011 13:22:39 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/reference/spl/ splheap/extract.xml splheap/top.xml splobjectstorage/offsetget.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-9209@lists.php.net to get a copy of this message | ||
On 13 December 2011 20:37, Levi Morrison <levim@php.net> wrote:
> levim Tue, 13 Dec 2011 20:37:12 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=320973
>
> Log:
> Added the exceptions thrown when you call SplHeap::extract, SplHeap::top, and
> SplObjectStorage::offsetGet.
Those SplHeap methods, and others, also throw an exception when the
heap is corrupted.
>
> Changed paths:
> U phpdoc/en/trunk/reference/spl/splheap/extract.xml
> U phpdoc/en/trunk/reference/spl/splheap/top.xml
> U phpdoc/en/trunk/reference/spl/splobjectstorage/offsetget.xml
>
> Modified: phpdoc/en/trunk/reference/spl/splheap/extract.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/spl/splheap/extract.xml 2011-12-13 20:21:30 UTC (rev 320972)
> +++ phpdoc/en/trunk/reference/spl/splheap/extract.xml 2011-12-13 20:37:12 UTC (rev 320973)
> @@ -25,6 +25,13 @@
> The value of the extracted node.
> </para>
> </refsect1>
> +
> + <refsect1 role="errors"><!-- {{{ -->
> + &reftitle.errors;
> + <para>
> + Throws <classname>RuntimeException</classname> when the data-structure is
> empty.
> + </para>
> + </refsect1><!-- }}} -->
>
> </refentry>
>
>
> Modified: phpdoc/en/trunk/reference/spl/splheap/top.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/spl/splheap/top.xml 2011-12-13 20:21:30 UTC (rev 320972)
> +++ phpdoc/en/trunk/reference/spl/splheap/top.xml 2011-12-13 20:37:12 UTC (rev 320973)
> @@ -26,6 +26,13 @@
> </para>
> </refsect1>
>
> + <refsect1 role="errors"><!-- {{{ -->
> + &reftitle.errors;
> + <para>
> + Throws <classname>RuntimeException</classname> when the data-structure is
> empty.
> + </para>
> + </refsect1><!-- }}} -->
> +
> </refentry>
>
> <!-- Keep this comment at the end of the file
>
> Modified: phpdoc/en/trunk/reference/spl/splobjectstorage/offsetget.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/spl/splobjectstorage/offsetget.xml 2011-12-13 20:21:30
> UTC (rev 320972)
> +++ phpdoc/en/trunk/reference/spl/splobjectstorage/offsetget.xml 2011-12-13 20:37:12
> UTC (rev 320973)
> @@ -40,7 +40,14 @@
> The data previously associated with the <type>object</type> in the storage.
> </para>
> </refsect1>
> -
> +
> + <refsect1 role="errors"><!-- {{{ -->
> + &reftitle.errors;
> + <para>
> + Throws <classname>UnexpectedValueException</classname> when
> <parameter>object</parameter> could not be found.
> + </para>
> + </refsect1><!-- }}} -->
> +
> <refsect1 role="examples">
> &reftitle.examples;
> <para>
>
>
> --
> PHP Documentation Commits Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php