permaculture playing cards*
The moose likes Beginning Java and the fly likes How to reiterate a do while loop after an exception is caught, run time error handling issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to reiterate a do while loop after an exception is caught, run time error handling issue" Watch "How to reiterate a do while loop after an exception is caught, run time error handling issue" New topic
Author

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

fayzal fauzie
Greenhorn

Joined: Mar 11, 2010
Posts: 4
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

Joined: Oct 27, 2005
Posts: 19654
    
  18

Just don't return?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: How to reiterate a do while loop after an exception is caught, run time error handling issue
 
Similar Threads
How to loop back after an exception is caught?
Largest/Greatest of n numbers
Error incrementing value in catch block
Feedback.
NumberFormatException thrown from parsing string to int