Continued:
authorRoland Haeder <roland@mxchange.org>
Sat, 25 Feb 2017 15:31:17 +0000 (16:31 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:10:04 +0000 (22:10 +0100)
- to ease things, EmptyVariableException is no longer deprecated as it nicely
  wraps the message, else if InvalidArgumentException or other SPL exception is
  being used, the message must be copied all around.
- added "import" of EmptyVariableException

Signed-off-by: Roland H├Ąder <roland@mxchange.org>
17 files changed:
application/tests/classes/resolver/command/console/class_TestsConsoleCommandResolver.php
application/tests/classes/resolver/controller/class_TestsConsoleControllerResolver.php
inc/main/classes/decorator/template/class_XmlRewriterTemplateDecorator.php
inc/main/classes/factories/objects/class_ObjectFactory.php
inc/main/classes/helper/html/forms/class_HtmlFormHelper.php
inc/main/classes/resolver/action/class_BaseActionResolver.php
inc/main/classes/resolver/action/html/class_HtmlActionResolver.php
inc/main/classes/resolver/command/class_BaseCommandResolver.php
inc/main/classes/resolver/command/console/class_ConsoleCommandResolver.php
inc/main/classes/resolver/command/html/class_HtmlCommandResolver.php
inc/main/classes/resolver/command/image/class_ImageCommandResolver.php
inc/main/classes/resolver/controller/class_BaseControllerResolver.php
inc/main/classes/resolver/controller/console/class_ConsoleControllerResolver.php
inc/main/classes/resolver/controller/html/class_HtmlControllerResolver.php
inc/main/classes/resolver/controller/image/class_ImageControllerResolver.php
inc/main/classes/template/class_BaseTemplateEngine.php
inc/main/exceptions/main/class_EmptyVariableException.php

index c6c5c3c..6b2ca23 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Tests\Resolver\Command;
 
 // Import framework stuff
 use CoreFramework\Command\InvalidCommandException;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Resolver\Command\BaseCommandResolver;
 use CoreFramework\Resolver\Command\CommandResolver;
index 1b35dce..18124fa 100644 (file)
@@ -5,6 +5,7 @@ namespace CoreFramework\Tests\Resolver\Controller;
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Resolver\Controller\BaseControllerResolver;
 use CoreFramework\Resolver\Controller\ControllerResolver;
index 1065cc8..8dc142e 100644 (file)
@@ -149,7 +149,6 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
         * @param       $var    The variable we are looking for
         * @param       $value  The value we want to store in the variable
         * @return      void
-        * @throws      EmptyVariableException  If the variable name is left empty
         */
        public function assignVariable ($var, $value) {
                // Call the inner class' method
index a53991f..46d2b6e 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Factory;
 
 // Import framework stuff
 use CoreFramework\Configuration\FrameworkConfiguration;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Loader\NoClassException;
 
 /**
index 8ec16e0..bb96a95 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Helper;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Template\CompileableTemplate;
index 45ec44c..238267b 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Resolver\Action;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Resolver\BaseResolver;
 
 /**
index d938767..e27ff3f 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Resolver\Action;
 
 // Import framework stuff
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Request\Requestable;
 
index 6e469a3..97de03c 100644 (file)
@@ -6,6 +6,7 @@ namespace CoreFramework\Resolver\Command;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Command\InvalidCommandException;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\BaseResolver;
 
index ccdec4c..daadc60 100644 (file)
@@ -5,6 +5,7 @@ namespace CoreFramework\Resolver\Command;
 // Import framework stuff
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\InvalidCommandException;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Resolver\Command\CommandResolver;
 
index 5a93e74..8635e91 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Resolver\Command;
 
 // Import framework stuff
 use CoreFramework\Command\InvalidCommandException;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Resolver\Command\CommandResolver;
 
index 2bd6b38..b62109c 100644 (file)
@@ -4,7 +4,7 @@ namespace CoreFramework\Resolver\Command;
 
 // Import framework stuff
 use CoreFramework\Command\InvalidCommandException;
-use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Resolver\Command\CommandResolver;
 
 /**
index 97d3607..3f906f9 100644 (file)
@@ -6,6 +6,7 @@ namespace CoreFramework\Resolver\Controller;
 use CoreFramework\Controller\DefaultControllerException;
 use CoreFramework\Controller\Controller;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Resolver\BaseResolver;
 use CoreFramework\Resolver\Controller\ControllerResolver;
 /**
index 500734e..191e212 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Resolver\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Resolver\Controller\ControllerResolver;
 use CoreFramework\Resolver\Controller\BaseControllerResolver;
index c48e274..6eeef59 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Resolver\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Resolver\Controller\ControllerResolver;
 use CoreFramework\Resolver\Controller\BaseControllerResolver;
index 1e4283a..18016bb 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Resolver\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Resolver\Controller\ControllerResolver;
 use CoreFramework\Resolver\Controller\BaseControllerResolver;
index 28029d8..9cb1411 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Template\Engine;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Response\Responseable;
index b50f522..7366afb 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Deprecated;
+namespace CoreFramework\Generic;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkException;
@@ -13,7 +13,6 @@ use CoreFramework\Generic\FrameworkException;
  * @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