3 ms·
I think what the post is trying to say is that you should let your exception bubble up. Usually, but not always. That is, for the classic "exceptions should o
by vanusa 5y ago
I think what the post is trying to say is that you should let your exception bubble up.
Usually, but not always. That is, for the classic "exceptions should only be used in exceptional cases" scenario, this is usually what you want to do.
A good portion of the time, though, this scenario doesn't apply. You're dealing with a subsystem that is throwing an exception (for good reasons or bad) but no, you don't want to just the application crash. You want to ... catch it, and do something else.
Which is what try-catch was devised for in the first place, after all.