X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fexceptions%2Flists%2Fclass_InvalidListHashException.php;h=c3247cb3d154e034254dae9b034b591baba16fb3;hb=eb37fda8357e8de7ec7755b25f59ff15b60c94a1;hp=4affa7dcd4bdbf495e61fe56fb2e7b0481f3068b;hpb=623221e8b97d0bb7a044265ce7418d0fe7894712;p=hub.git diff --git a/application/hub/exceptions/lists/class_InvalidListHashException.php b/application/hub/exceptions/lists/class_InvalidListHashException.php index 4affa7dcd..c3247cb3d 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, 2010 Hub Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 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 @@ -25,14 +25,15 @@ class InvalidListHashException extends FrameworkException { /** * The super constructor for all exceptions * - * @param $messageArray Error message array - * @param $code Error code + * @param $messageArray Error message array + * @param $code Error code * @return void */ 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] );