]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/states/class_BaseState.php
State pattern added, hub continued (sorry, I let it lay around uncommitted for long...
[hub.git] / application / hub / main / states / class_BaseState.php
index 4511f3e1013db3e722457ac3ef467d5d71470dc5..8c223d10e21c1e6707cf79ceb5c749013cbc7cbe 100644 (file)
@@ -22,6 +22,9 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 class BaseState extends BaseHubSystem implements Stateable {
+       // Exception code constants
+       const EXCEPTION_INVALID_STATE = 0xc00;
+
        /**
         * State name for printing out (except debug output where you want to use
         * $stateInstance->__toString() instead of this).
@@ -61,3 +64,4 @@ class BaseState extends BaseHubSystem implements Stateable {
 
 // [EOF]
 ?>
+