From: Alexander Ebert Date: Wed, 2 May 2012 15:48:52 +0000 (+0200) Subject: ValidateActionException is now longer retarded X-Git-Tag: 2.0.0_Beta_1~1128 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f945556a4dc697b9a1d608d22e8847716b433b1;p=GitHub%2FWoltLab%2FWCF.git ValidateActionException is now longer retarded --- 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; } }