catch rendering exceptions
[grauphel.git] / lib / converter / html.php
index 1723a5b0f4d6dc48f91a5ac34c8d9d7c12a45a81..eeb2b665c594dcf7130a15b5275a79269eebb38e 100644 (file)
@@ -11,7 +11,7 @@
  * @license   http://www.gnu.org/licenses/agpl.html GNU AGPL v3
  * @link      http://cweiske.de/grauphel.htm
  */
-namespace OCA\Grauphel\Lib\Converter;
+namespace OCA\Grauphel\Converter;
 use \XMLReader;
 
 /**
@@ -121,7 +121,7 @@ class Html
                 $store .= nl2br(htmlspecialchars($reader->value));
                 break;
             default:
-                throw new \Exception(
+                throw new Exception(
                     'Unsupported XML node type: ' . $reader->nodeType
                 );
             }