Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to reiterate a do while loop after an exception is caught, run time error handling issue

 
fayzal fauzie
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Guys,

This programs runs good should no exception is caught, and am having difficulty figuring how to handle the exception part

Basicly i just need to rerun the loop when the exception is caught.
Any input is greatly appreciated.
Thanks in advance.
 
Rob Spoor
Sheriff
Pie
Posts: 20606
60
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just don't return?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic