Method constructor() removed, several small fixes
[shipsimu.git] / inc / classes / exceptions / template / class_UnexpectedTemplateTypeException.php
index 5cbe2bed52f142cf4b9efbc05cab2dd8a7995179..ba37050a3fca4e4c04d1bea0f6e380e0b320f56e 100644 (file)
@@ -1,12 +1,13 @@
 <?php
 /**
- * An exception throws when the template type is not supported
+ * An exception thrown when the template type is not supported
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0
+ * @author             Roland Haeder <webmaster@mxchange.org>
+ * @version            0.3.0
  * @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
@@ -18,7 +19,7 @@
  * 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 <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class UnexpectedTemplateTypeException extends FrameworkException {
        /**
@@ -28,7 +29,7 @@ class UnexpectedTemplateTypeException extends FrameworkException {
         * @param               $code           Code number for the exception
         * @return      void
         */
-       public final function __construct ($class, $code) {
+       public function __construct (BaseFrameworkSystem $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:%d] Der Template-Typ <u>%s</u> entspricht nicht dem erwartetem Template-Typ <u>%s</u>.",
                        $class[0]->__toString(),