]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/main/class_DimNotFoundInArrayException.php
Comment header cosmetics applied
[shipsimu.git] / inc / classes / exceptions / main / class_DimNotFoundInArrayException.php
index ff011f234251d2f769b22edad1a02c562077f450..7806f9b81e6b9e3ea2baa5e3eb4e768bf3ff4284 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An exception thron when dimension entries are not found in an array
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
+ * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @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
+ * @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
@@ -25,20 +25,20 @@ class DimNotFoundInArrayException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
-        * @param               $code           Code number for the exception
+        * @param       $class  Class throwing the exception
+        * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (FrameworkInterface $class, $code) {
                if (is_object($class)) {
                        // Add a message around the missing class
-                       $message = sprintf("[%s:%d] Abmasse konnten nicht extrahiert werden!",
+                       $message = sprintf("[%s:%d] Dimensions not found in array, array is invalid!",
                                $class->__toString(),
                                $this->getLine()
                        );
                } else {
                        // No class given
-                       $message = sprintf("Please provide a class for <u>%s</u>", __CLASS__);
+                       $message = sprintf("Please provide a class for <span id=\"exception_reason\">%s</span>", __CLASS__);
                }
 
                // Call parent constructor