fix - sonar fixes (final logger, exceptions) and exception tests