Finished first cleanup (still a lot is broken):
[core.git] / inc / main / exceptions / main / class_InvalidCommandInstanceException.php
index 5786206d64a307fcfdcb127582d872ecc0440ba3..f4d171b19d8c2ac6f0a85f2034a340497f06a5f7 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * This exception is thrown when a command instance 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
@@ -40,7 +44,5 @@ class InvalidCommandInstanceException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}