]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/state/class_InvalidStateInstanceException.php
No HTML in exceptions
[core.git] / inc / classes / exceptions / state / class_InvalidStateInstanceException.php
index ef583cf46a0562b82da45908c3dd076e33673208..664b98c9d45b26411f627fe10f27249e33012ec1 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.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 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -31,7 +31,7 @@ class InvalidStateInstanceException extends FrameworkException {
         */
        public function __construct (array $msgArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Invalid state <span class=\"exception_reason\">%s</span> of type <span class=\"exception_reason\">%s</span> detected.",
+               $message = sprintf("[%s:%d] Invalid state %s of type %s detected.",
                        $msgArray[0]->__toString(),
                        $this->getLine(),
                        $msgArray[1],