Finished first cleanup (still a lot is broken):
[core.git] / inc / main / exceptions / main / class_InvalidCommandException.php
index 8ba24107e108dc274ab9ed70fbaa3fcbf0ade48b..9c1476f2f61105a5ada4109bd1492f7892a5b106 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * This exception is thrown when a command is invalid
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * 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
@@ -44,7 +48,5 @@ class InvalidCommandException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}