Inspection tool to find all possible exceptions

I understand the reason behind unchecked exceptions.

In practice you often have to use 3rd party libraries that use exceptions for default states that you want to handle.
Like sowing a message to the user when the device is offline or the server not reachable on a network call.
And not always the documentation is as good as you wish it to be. :wink:

This seems to lead to the other imho bad practice to do a generic “catch all” and just show “unknown error”.

What would be great is an inspection/reasoning tool that would list all possible exceptions on a call. Does that exist?

Hi. Check out the existing feature requests:

If your use case is different, feel free to submit a separate request at Thanks!