For a CS project, I need to have my program "gracefully terminate" in case of certain user input errors. What is the best syntax to do this?
lrolsto1
0
Newbie Poster
Recommended Answers
Jump to Postidk how graceful try-catch blocks are but those should do the trick when coupled with System.exit(0)...
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.