3 ms·
It's already very unlikely that you can 'recover-and-proceed' in the context of any business app exception (Security violation, customer not found, no such paym
by mrkeen 2y ago
It's already very unlikely that you can 'recover-and-proceed' in the context of any business app exception (Security violation, customer not found, no such payment, etc.).
So what's left in exception handling is logging and/or rethrowing. And the 'nasty hackish way' of doing it (RuntimeException) already passes a complete stack trace up to the caller.
- wavemode 2y ago"recover and proceed" generally means "log the error and then continue processing on other data, rather than exiting entirely" Lots of different kinds of software tends to follow this pattern - web servers, data pipelines, compilers/build tools, etc.