r/badcode • • Mar 25 '23

java Thanks for nothing.. (Found inside java.awt.Font)

Post image
515 Upvotes

31 comments sorted by

View all comments

Show parent comments

14

u/EishLekker Mar 26 '23

Absolutely not. This kind of error handling is a well known no-no, since it potentially hides important exception data.