lib: Require a message when throwing IcingaExceptions

refs #9644
This commit is contained in:
Eric Lippmann 2015-07-28 10:43:17 +02:00
parent 78285b95a3
commit a68c05da7f

View File

@ -15,7 +15,7 @@ class IcingaException extends Exception
* *
* If there is at least one exception, the last one will be also used for the exception chaining. * If there is at least one exception, the last one will be also used for the exception chaining.
*/ */
public function __construct($message = '') public function __construct($message)
{ {
$args = array_slice(func_get_args(), 1); $args = array_slice(func_get_args(), 1);
$exc = null; $exc = null;