I do get “Handle the following exception that could be thrown by …” false positive on several Servlets.
The exception extends a custom exception that extends Exception. And the code that throws the exception is surrounded by try/catch that catches both the exception reported and Exception that it extends.
I’m using SonarQube Developer Edition - Version 9.9 (build 65466). The application is running java 17