-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.2.2
-
None
Line 61-65:
try { commandsManager.executeCommand(commandName, parameters); } catch (Exception e) { parameters.put(Context.ATTRIBUTE_EXCEPTION, e); }
commandsManager.executeCommand returns a boolean representing a successful execution of the command. This is ignored by the CommandWorkItemHandler and failed commands that do not explicitly throw an Exception are treated as successful.
Additionally, the throwing of java.lang.Exception in the CommandsManager should possibly be investigated regarding it's necessity.
Acceptance criteria