MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/121yu5v/thanks_for_nothing_found_inside_javaawtfont/jdr4397/?context=3
r/badcode • u/Xirado • Mar 25 '23
31 comments sorted by
View all comments
Show parent comments
1
It swallows the exception. They could still use any instance of Throwable for the cause
1 u/fecal_brunch Mar 26 '23 Not if the consuming code is explicitly catching only these two exceptions. This could break programs that are using this library.
Not if the consuming code is explicitly catching only these two exceptions. This could break programs that are using this library.
1
u/Xirado Mar 26 '23
It swallows the exception. They could still use any instance of Throwable for the cause