Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Is there exception flow and handling analysis, like data flow analysis? Googled/searched web/kb/forum without results.

$
0
0

Is there way to find where specific exception is caught (or not?) within execution flow? Both checked and unchecked exception types.

Existing application has very inconsistent exception handling - exceptions are caught, re-thrown, wrapped into another type of exception (from/to checked/unchecked). I'd like to know if IDEA can find places where exception has been caught (exact exception, or direct parent, or any parent/Throwable) using call hierarchy and trace re-thrown/wrapped exception until last (most outer?) catch; in case when cursor-pointed exception is not caught anywhere, it would be nice to get message stating this case.

Maybe it worth to convert this question to feature request? :-)


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>