first unit test for configuration sub system added
[mailer.git] / inc / classes / exceptions / main / class_ConfigEntryIsEmptyException.php
index df1891566a156d5365e88a3dcd68f092552b5f21..f16e3658073820bb791f0461263a99cb0b13bcb7 100644 (file)
@@ -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
@@ -25,14 +25,14 @@ 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 function __construct (BaseFrameworkSystem $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()
                );