]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/state/class_InvalidStateException.php
Added exceptions + some code:
[hub.git] / application / hub / exceptions / state / class_InvalidStateException.php
index b89d74f6c634452d5afac5c15f06a54e910cb300..0c758a68e91b11b5b8061b48cf9cc5b9d04ba69a 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.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 - 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()
                );