X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fmain%2Fclass_ConfigEntryIsEmptyException.php;h=781adca4517ee0a79431402e283347e4609697b9;hb=1d128d8532290e84885d09d2d3f0060abd08e49e;hp=2661bf04518306fd7ca3426b7e85b928475f1b3e;hpb=6a235495afbc92d4116f94be590d40feb1ad7905;p=shipsimu.git
diff --git a/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php b/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php
index 2661bf0..781adca 100644
--- a/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php
+++ b/inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php
@@ -7,7 +7,7 @@
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
* @link http://www.mxchange.org
- *
+ *
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -19,20 +19,20 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
class ConfigEntryIsEmptyException extends FrameworkException {
/**
* The constructor
*
- * @param $message Message from the exception
+ * @param $message Message from the exception
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($class, $code) {
+ public function __construct (FrameworkConfiguration $class, $code) {
// Add a message around the missing class
$message = sprintf("[%s:%d] Leeren Konfigurationseintrag angegeben!",
- $class,
+ $class->__toString(),
$this->getLine()
);