310
Ignore your problems rule
(lemmy.ca)
I wrote a small command line program that would crash if a keyboard interrupt was used to close it. I fixed the crash by catching the keyboard interrupt exception...but I couldn't do anything with it. The keyboard interrupt closes the program. Catching the interrupt only stopped the crash message from appearing. So my code basically looked like this.
Throw(e)
Make your problem someone else's problem.
Wrap it in a RuntimeException
and the compiler will be happy to.
That formatting, on the other hand, is not going away
very true ๐ค๐
Much like teeth โฆ and friends
Be sure to follow the rule before you head out.
Rule: You must post before you leave.