From dd0433cf81fe5329b694a148191f09e427d4a56c Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 11 Apr 2017 05:37:03 +0200 Subject: Class "ExceptionHandler" has been removed and several files has been changed. --- system/feed/main.php | 2 +- system/home.php | 2 +- system/page/list.php | 2 +- system/page/main.php | 4 ++-- system/post/list.php | 2 +- system/post/main.php | 4 ++-- system/search/main.php | 2 +- system/user/list.php | 2 +- system/user/main.php | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) (limited to 'system') diff --git a/system/feed/main.php b/system/feed/main.php index ffb9b3a..671f5c7 100644 --- a/system/feed/main.php +++ b/system/feed/main.php @@ -72,6 +72,6 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } ?> \ No newline at end of file diff --git a/system/home.php b/system/home.php index 3d20097..ce91558 100644 --- a/system/home.php +++ b/system/home.php @@ -50,6 +50,6 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } ?> \ No newline at end of file diff --git a/system/page/list.php b/system/page/list.php index 0879065..25409e5 100644 --- a/system/page/list.php +++ b/system/page/list.php @@ -60,6 +60,6 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } ?> \ No newline at end of file diff --git a/system/page/main.php b/system/page/main.php index 22d0ec7..925d5d9 100644 --- a/system/page/main.php +++ b/system/page/main.php @@ -59,7 +59,7 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } } @@ -86,5 +86,5 @@ catch(Page\Exception $Exception) { # CATCH: User\Exception #=============================================================================== catch(User\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } \ No newline at end of file diff --git a/system/post/list.php b/system/post/list.php index 908f7b8..f2edd0b 100644 --- a/system/post/list.php +++ b/system/post/list.php @@ -60,6 +60,6 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } ?> \ No newline at end of file diff --git a/system/post/main.php b/system/post/main.php index 0b69023..46937f3 100644 --- a/system/post/main.php +++ b/system/post/main.php @@ -59,7 +59,7 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } } @@ -86,5 +86,5 @@ catch(Post\Exception $Exception) { # CATCH: User\Exception #=============================================================================== catch(User\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } \ No newline at end of file diff --git a/system/search/main.php b/system/search/main.php index 97fe8bb..8854b79 100644 --- a/system/search/main.php +++ b/system/search/main.php @@ -85,6 +85,6 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } ?> \ No newline at end of file diff --git a/system/user/list.php b/system/user/list.php index 2e1e4f1..692bba6 100644 --- a/system/user/list.php +++ b/system/user/list.php @@ -56,6 +56,6 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } ?> \ No newline at end of file diff --git a/system/user/main.php b/system/user/main.php index 8b7bc79..7944f1f 100644 --- a/system/user/main.php +++ b/system/user/main.php @@ -74,7 +74,7 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } } -- cgit v1.2.3