Fix [SonarQube] Avoid commented-out lines of code (A block of
commented-out lines of code should be removed)
Add general application exception
Fix [SonarQube] Generic exceptions Error, RuntimeException, Throwable
and Exception should never be thrown (Catch the third party general
exception and throw a new ApplicationException)
Fix [SonarQube] Generic exceptions Error, RuntimeException, Throwable
and Exception should never be thrown (Change the method signature to
throw ApplictionException rather than Exception)