can I use the try...catch statement on java to stop the execution of codes on error? just like the exit sub on vb
Jump to Post
stop the execution of codes on error
It works the opposite way. A catch can allow the program to continue executing when there is an error. Go to this site and read up:
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.