This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 19541
    
  16

Just don't return?


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