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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.