X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fexceptions%2Fstate%2Fclass_InvalidStateException.php;h=0c758a68e91b11b5b8061b48cf9cc5b9d04ba69a;hb=7756c313e101f012af9c3ccfc378308f4f03f603;hp=b89d74f6c634452d5afac5c15f06a54e910cb300;hpb=7b7cd2e8f2f45ea12654b2c2768408db50046198;p=hub.git diff --git a/application/hub/exceptions/state/class_InvalidStateException.php b/application/hub/exceptions/state/class_InvalidStateException.php index b89d74f6c..0c758a68e 100644 --- a/application/hub/exceptions/state/class_InvalidStateException.php +++ b/application/hub/exceptions/state/class_InvalidStateException.php @@ -4,7 +4,7 @@ * * @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 - 2012 Hub Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -31,8 +31,8 @@ class InvalidStateException extends FrameworkException { */ public function __construct (Stateable $stateInstance, $code) { // Construct the message - $message = sprintf("[%s:%d] Unexpected state detected.", - $nodeSateInstance->__toString(), + $message = sprintf('[%s:%d] Unexpected state detected.', + $stateInstance->__toString(), $this->getLine() );