]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php
More conventions than code added:
[shipsimu.git] / inc / classes / exceptions / template / class_BasePathIsNoDirectoryException.php
index 4c6de810a48053050e2a723b9e474e7891c4ee88..749d00402738c430ac33db420f089bf43c5956a3 100644 (file)
@@ -3,10 +3,11 @@
  * An exception thrown when the base path is no directory
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- *
+ * @link               http://www.ship-simu.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
@@ -24,16 +25,16 @@ class BasePathIsNoDirectoryException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $class          An array holding our informations
-        * @param               $code           Code number for the exception
+        * @param       $classArray             An array holding our informations
+        * @param       $code                   Code number for the exception
         * @return      void
         */
-       public final function __construct ($class, $code) {
+       public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Der Template-Basispfad <u>%s</u> existiert nicht oder ist eine Datei!",
-                       $class[0]->__toString(),
+               $message = sprintf("[%s:%d] Der Template-Basispfad <span id=\"exception_reason\">%s</span> existiert nicht oder ist eine Datei!",
+                       $classArray[0]->__toString(),
                        $this->getLine(),
-                       $class[1]
+                       $classArray[1]
                );
 
                // Call parent constructor