X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fexceptions%2Flists%2Fclass_InvalidListHashException.php;h=7f290ae009d562cdc7b9d1fd41d0eb0e08d7c58e;hb=ea369fbf3b5ab38fa5616561502015855e024b53;hp=9b48ec464853a06eb3687a2387625dcb1f347a36;hpb=1212b8422d9040c36c355c2c81c689dda7fd79ad;p=hub.git diff --git a/application/hub/exceptions/lists/class_InvalidListHashException.php b/application/hub/exceptions/lists/class_InvalidListHashException.php index 9b48ec464..7f290ae00 100644 --- a/application/hub/exceptions/lists/class_InvalidListHashException.php +++ b/application/hub/exceptions/lists/class_InvalidListHashException.php @@ -2,11 +2,11 @@ /** * This exception is thrown when a hash is invalid * - * @author Roland Haeder + * @author Roland Haeder * @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 %s with key %s is invalid.", + $message = sprintf('[%s:%d] Hash %s with key %s is invalid.', $messageArray[0]->__toString(), + $this->getLine(), $messageArray[1], $messageArray[2] );