]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/lists/class_InvalidListHashException.php
Exceptions got moved to 'core' as well
[hub.git] / application / hub / exceptions / lists / class_InvalidListHashException.php
index 5759bab5cc468142128d5b94c6346295bcd89e2c..30eb3503bc92c2410f71d7a21a10626034038244 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 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -31,8 +31,9 @@ class InvalidListHashException extends FrameworkException {
         */
        public function __construct (array $messageArray, $code) {
                // Construct the message
-               $message = sprintf("[%s] Hash <span class=\"exception_reason\">%s</span> with key <span class=\"exception_reason\">%s</span> is invalid.",
+               $message = sprintf("[%s:%d] Hash %s with key %s is invalid.",
                        $messageArray[0]->__toString(),
+                       $this->getLine(),
                        $messageArray[1],
                        $messageArray[2]
                );