Comment Comment by whitenoice Most codebases use lombok, you can use @SneakyThrows or @SneakyThrows(SpecificException.class) - https://projectlombok.org/features/SneakyThrows parent whitenoice 6 years ago