[BUGFIX] Fix the unit tests to work with PHPUnit 3.6
[Packages/TYPO3.CMS.git] / t3lib / tree / pagetree / class.t3lib_tree_pagetree_commands.php
index 38cc37d..5e7456a 100644 (file)
@@ -171,7 +171,7 @@ final class t3lib_tree_pagetree_Commands {
         *
         * @param array $cmd
         * @param array $data
-        * @throws Exception if an error happened while the TCE processing
+        * @throws RuntimeException if an error happened while the TCE processing
         * @return array
         */
        protected static function processTceCmdAndDataMap(array $cmd, array $data = array()) {
@@ -191,7 +191,7 @@ final class t3lib_tree_pagetree_Commands {
 
                        // check errors
                if (count($tce->errorLog)) {
-                       throw new Exception(implode(chr(10), $tce->errorLog));
+                       throw new RuntimeException(implode(chr(10), $tce->errorLog), 1333754629);
                }
 
                return $returnValues;