aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-03-29 15:49:47 +0200
committerThomas Lange <code@nerdmind.de>2017-03-29 15:49:47 +0200
commit2c9c42143b41a9ee316bb2d2be26aae1c426a6b2 (patch)
tree215a46ea7e1071b0cc6b5daf42de3679817bf78c /core/namespace
parent008617f01c42dfbd6241be3bebcde90815c8a323 (diff)
downloadblog-2c9c42143b41a9ee316bb2d2be26aae1c426a6b2.tar.gz
blog-2c9c42143b41a9ee316bb2d2be26aae1c426a6b2.tar.xz
blog-2c9c42143b41a9ee316bb2d2be26aae1c426a6b2.zip
Item exceptions now inherit "ExceptionHandler" to benefit from the "defaultHandler" method.
Diffstat (limited to 'core/namespace')
-rw-r--r--core/namespace/Page/Exception.php2
-rw-r--r--core/namespace/Post/Exception.php2
-rw-r--r--core/namespace/User/Exception.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/namespace/Page/Exception.php b/core/namespace/Page/Exception.php
index d4794b7..d3aa06a 100644
--- a/core/namespace/Page/Exception.php
+++ b/core/namespace/Page/Exception.php
@@ -1,5 +1,5 @@
<?php
namespace Page;
-class Exception extends \Exception {}
+class Exception extends \ExceptionHandler {}
?> \ No newline at end of file
diff --git a/core/namespace/Post/Exception.php b/core/namespace/Post/Exception.php
index 516ddbe..f752bf8 100644
--- a/core/namespace/Post/Exception.php
+++ b/core/namespace/Post/Exception.php
@@ -1,5 +1,5 @@
<?php
namespace Post;
-class Exception extends \Exception {}
+class Exception extends \ExceptionHandler {}
?> \ No newline at end of file
diff --git a/core/namespace/User/Exception.php b/core/namespace/User/Exception.php
index b5bcad0..be0a599 100644
--- a/core/namespace/User/Exception.php
+++ b/core/namespace/User/Exception.php
@@ -1,5 +1,5 @@
<?php
namespace User;
-class Exception extends \Exception {}
+class Exception extends \ExceptionHandler {}
?> \ No newline at end of file