]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/main/class_ClassMismatchException.php
Opps, wrong method name ...
[core.git] / inc / classes / exceptions / main / class_ClassMismatchException.php
index 2b6e5ad89be592d6b981ffe24cb5a7aa3729c280..c347e0d06bdc8f2b71659435e5f63ee5bd90115d 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An exception thrown when two classes are not matching
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.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
@@ -31,7 +31,7 @@ class ClassMismatchException extends FrameworkException {
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("The class <span class=\"exception_reason\">%s</span> does not match class <span class=\"exception_reason\">%s</span>.",
+               $message = sprintf('The class %s does not match class %s.',
                        $classArray[0],
                        $classArray[1]
                );