Code syncronized with shipsimu code base
[mailer.git] / inc / classes / exceptions / main / class_ClassMismatchException.php
index 92364cd3b1d6007c43e6a072b6d46e522e9a8014..32499e3e088b8f83f6593ed69d9922164432300c 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @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
  * 
  * 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 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]
                );