* @param $namespace Namespace to check
* @param $actionName The default action we shall execute
* @return $isValid Whether the given action is valid
- * @throws EmptyVariableException Thrown if given action is not set
+ * @throws InvalidArgumentException Thrown if namespace or action is not set
*/
function isActionValid ($namespace, $actionName);