BlackLab icon indicating copy to clipboard operation
BlackLab copied to clipboard

Move away from checked exceptions

Open jan-niestadt opened this issue 3 years ago • 0 comments

For example, ErrorOpeningIndex shouldn't be a checked exception, as in the vast majority of cases there's no graceful way to handle this. This leads to either it being immediately wrapped in a RuntimeException, or having to explicitly pass it all the way up the call chain. Both add unnecessary boilerplate.

jan-niestadt avatar Jul 25 '22 11:07 jan-niestadt