]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/main/class_ClassMismatchException.php
Comment header cosmetics applied
[shipsimu.git] / inc / classes / exceptions / main / class_ClassMismatchException.php
index a17ecdf3156f498cf7239f67b15e9e65b9d0bf3b..32499e3e088b8f83f6593ed69d9922164432300c 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An exception thrown when two classes are not matching
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
- * @version            0.3.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @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.mxchange.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,13 +25,13 @@ class ClassMismatchException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
-        * @param               $code           Code number for the exception
+        * @param       $classArray             Array holding the exception informations
+        * @param       $code                   Code number for the exception
         * @return      void
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("Die Klasse <u>%s</u> ist ungleich <u>%s</u>.",
+               $message = sprintf("The class <span id=\"exception_reason\">%s</span> does not match class <span id=\"exception_reason\">%s</span>.",
                        $classArray[0],
                        $classArray[1]
                );