sonar fix-463 remove the exception from the method body