From 9f945556a4dc697b9a1d608d22e8847716b433b1 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 2 May 2012 17:48:52 +0200 Subject: [PATCH] ValidateActionException is now longer retarded --- .../system/exception/ValidateActionException.class.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/exception/ValidateActionException.class.php b/wcfsetup/install/files/lib/system/exception/ValidateActionException.class.php index d3a3f9b473..3a839781e5 100644 --- a/wcfsetup/install/files/lib/system/exception/ValidateActionException.class.php +++ b/wcfsetup/install/files/lib/system/exception/ValidateActionException.class.php @@ -16,6 +16,13 @@ class ValidateActionException extends \Exception { * @see \Exception::__construct() */ public function __construct($message) { - die($message); + $this->message = $message; + } + + /** + * @see \Exception::__toString() + */ + public function __toString() { + return $this->message; } } -- 2.20.1