X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fmain%2Fclass_DimNotFoundInArrayException.php;h=dba31aa9e54e5b07cc8a972fd9a6349c0d9fe519;hb=c3021952494266e05bfa9046baf9bcd11bfe7d13;hp=9644eb9b92c6c42ab8c366ea09416345bc319a13;hpb=607a11e2c22949ea0647568c17d62a605595e83b;p=core.git diff --git a/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php b/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php index 9644eb9b..dba31aa9 100644 --- a/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php +++ b/inc/classes/exceptions/main/class_DimNotFoundInArrayException.php @@ -2,11 +2,11 @@ /** * An exception thron when dimension entries are not found in an array * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core 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 @@ -32,13 +32,13 @@ class DimNotFoundInArrayException extends FrameworkException { public function __construct (FrameworkInterface $class, $code) { if (is_object($class)) { // Add a message around the missing class - $message = sprintf("[%s:%d] Dimensions not found in array, array is invalid!", + $message = sprintf('[%s:%d] Dimensions not found in array, array is invalid!', $class->__toString(), $this->getLine() ); } else { // No class given - $message = sprintf("Please provide a class for %s", __CLASS__); + $message = sprintf('Please provide a class for %s', __CLASS__); } // Call parent constructor