]> git.mxchange.org Git - hub.git/commitdiff
Fixed conflict with 'core' project
authorRoland Häder <roland@mxchange.org>
Wed, 14 Dec 2011 04:48:40 +0000 (04:48 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 14 Dec 2011 04:48:40 +0000 (04:48 +0000)
application/hub/main/resolver/state/class_BaseStateResolver.php

index ac05a5556cfc343ac4a09eaaab6689a690f8281f..4b8d3f3eb99e60e944df80a3e8ace4dff596bc02 100644 (file)
@@ -84,12 +84,12 @@ class BaseStateResolver extends BaseResolver {
 
        /**
         * "Loads" a given state and instances it if not yet cached. If the
-        * state was not found an InvalidStateException is thrown
+        * state was not found an UnresolveableStateException is thrown
         *
         * @param       $stateName                      A state name we shall look for
         * @return      $stateInstance          A loaded state instance
-        * @throws      InvalidStateException   Thrown if even the requested
-        *                                                                      state class is missing (bad!)
+        * @throws      UnresolveableStateException             Thrown if even the requested
+        *                                                                                      state class is missing (bad!)
         */
        protected function loadState ($stateName) {
                // Init state instance
@@ -104,7 +104,7 @@ class BaseStateResolver extends BaseResolver {
                // Is this class loaded?
                if (!class_exists($this->getClassName())) {
                        // Throw an exception here
-                       throw new InvalidStateException(array($this, $stateName), self::EXCEPTION_INVALID_STATE);
+                       throw new UnresolveableStateException(array($this, $stateName), self::EXCEPTION_INVALID_STATE);
                } // END - if
 
                // Initialize the state