3 ms·
There are few specific cases, when you actually can do something after multiple returns, and they belong to RuntimeException hierarchy. I've seen good example
by ivan_gammel 10y ago
There are few specific cases, when you actually can do something after multiple returns, and they belong to RuntimeException hierarchy.
I've seen good example of it just few hours ago, when my IntelliJ WebStorm (Java application) signalled, that it doesn't have enough memory (OoME) and suggested to update Xmx config setting and restart. Apparently, such exceptions should be handled at the root of execution stack, but sometimes, like in this case, there are ways to handle them with minimal damage.