Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

wander1236 ,
@wander1236@sh.itjust.works avatar

That formatting, on the other hand, is not going away

quinkin ,

Throw(e)

Make your problem someone else's problem.

jbk ,

Wrap it in a RuntimeException and the compiler will be happy to.

splitz ,

Much like teeth … and friends

PM_ME_VINTAGE_30S ,
@PM_ME_VINTAGE_30S@lemmy.sdf.org avatar
ImplyingImplications ,

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.

SmoochyPit ,

very true 😤👍

  • All
  • Subscribed
  • Moderated
  • Favorites
  • 196@lemmy.blahaj.zone
  • random
  • incremental_games
  • meta
  • All magazines