]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/lists/class_InvalidListHashException.php
Continued with hub:
[hub.git] / application / hub / exceptions / lists / class_InvalidListHashException.php
index 9b48ec464853a06eb3687a2387625dcb1f347a36..7f290ae009d562cdc7b9d1fd41d0eb0e08d7c58e 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * This exception is thrown when a hash is invalid
  *
- * @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 - 2011 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Hub 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,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]
                );