Win a copy of Kotlin in Action this week in the Kotlin 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  RSS feed

 
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
Posts: 21090
85
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
Boost this thread!