[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/spl/directoryiterator/_construct.xml?=
From:       Peter_Cowburn <salathe () php ! net>
Date:       2012-04-27 21:57:57
Message-ID: svn-salathe-1335563877-325477-100113455 () svn ! php ! net
[Download RAW message or body]

salathe                                  Fri, 27 Apr 2012 21:57:57 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=325477

Log:
changelog for directoryiterator constructor exceptions (doc #61833)

Bug: https://bugs.php.net/61833 (Assigned) Throws a different Exception on PHP5.2
      
Changed paths:
    U   phpdoc/en/trunk/reference/spl/directoryiterator/construct.xml

Modified: phpdoc/en/trunk/reference/spl/directoryiterator/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/directoryiterator/construct.xml	2012-04-27 19:58:40 UTC (rev 325476)
+++ phpdoc/en/trunk/reference/spl/directoryiterator/construct.xml	2012-04-27 21:57:57 UTC (rev 325477)
@@ -40,7 +40,50 @@
    Throws an <classname>UnexpectedValueException</classname>
    if the <parameter>path</parameter> cannot be opened.
   </para>
+  <para>
+   Throws a <classname>RuntimeException</classname>
+   if the <parameter>path</parameter> is an empty string.
+  </para>
  </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>5.3.0</entry>
+       <entry>
+        Throws <classname>UnexpectedValueException</classname> if the
+        <parameter>path</parameter> cannot be opened.
+       </entry>
+      </row>
+      <row>
+       <entry>5.1.3</entry>
+       <entry>
+        Throws <classname>RuntimeException</classname> if the
+        <parameter>path</parameter> is an empty string.
+       </entry>
+      </row>
+      <row>
+       <entry>5.1.0</entry>
+       <entry>
+        Throws <classname>RuntimeException</classname> on error.
+        Previously, threw <classname>Exception</classname>.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>

  <refsect1 role="examples">
   &reftitle.examples;



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic