From 3eb596f94c622e648f7c2763490bb1dac7695d64 Mon Sep 17 00:00:00 2001 From: Levi Morrison Date: Tue, 13 Dec 2011 19:32:36 +0000 Subject: [PATCH] Added the exceptions thrown when you do various things inside of SplDoublyLinkedList. -- Provided by Levi Morrison (morrison.levi@gmail.com) (me) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320965 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/spl/spldoublylinkedlist/bottom.xml | 15 +++++++++++---- reference/spl/spldoublylinkedlist/offsetget.xml | 17 +++++++++++++---- reference/spl/spldoublylinkedlist/offsetset.xml | 17 ++++++++++++----- .../spl/spldoublylinkedlist/offsetunset.xml | 17 ++++++++++++----- reference/spl/spldoublylinkedlist/pop.xml | 14 ++++++++++---- reference/spl/spldoublylinkedlist/shift.xml | 15 +++++++++++---- reference/spl/spldoublylinkedlist/top.xml | 15 +++++++++++---- 7 files changed, 80 insertions(+), 30 deletions(-) diff --git a/reference/spl/spldoublylinkedlist/bottom.xml b/reference/spl/spldoublylinkedlist/bottom.xml index d2f2a745f2..b0415a00a8 100644 --- a/reference/spl/spldoublylinkedlist/bottom.xml +++ b/reference/spl/spldoublylinkedlist/bottom.xml @@ -5,7 +5,7 @@ SplDoublyLinkedList::bottom Peeks at the node from the beginning of the doubly linked list - + &reftitle.description; @@ -13,19 +13,26 @@ - + &reftitle.parameters; &no.function.parameters; - + &reftitle.returnvalues; The value of the first node. - + + + &reftitle.errors; + + Throws RuntimeException when the data-structure is empty. + + + + &reftitle.errors; + + Throws OutOfRangeException when index is out of bounds + or when index cannot be parsed as an integer. + + + + + &reftitle.errors; + + Throws OutOfRangeException when index is out of bounds or when index cannot be parsed as an integer. + + + + &reftitle.errors; + + Throws OutOfRangeException when index is out of bounds + or when index cannot be parsed as an integer. + + + &reftitle.errors; + + Throws RuntimeException when the data-structure is empty. + + + &reftitle.errors; + + Throws RuntimeException when the data-structure is empty. + + + + &reftitle.errors; + + Throws RuntimeException when the data-structure is empty. + + +