-
Improvement
-
Resolution: Won't Fix
-
Neutral
-
None
-
5.3.2
The class ActivationCommand throws a generic Exception in its execute method. The primary reason why we should avoid throwing Generic Exceptions, Throwable, Error etc is that doing in this way prevents classes from catching the intended exceptions. Thus, a caller cannot examine the exception to determine why it was thrown and consequently cannot attempt recovery.
- Further more I did notice this class uses the deprecated Content class
Acceptance criteria
- relates to
-
MGNLACTIVATION-10 rewrite activation to use node api instead of content api
- Closed