File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

How to continue after an Exception?

 
irshad ahmed
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Is it possible to continue a Java program after if it catches and deals with an exception?
For example, say I am processing 1000 records from a file, one at a time. If the 6th record causes a Java Exception, I want to be able to skip it and continue processing the remaining 994 records.
Is this possible with Java Exception handling? If so, how?
Thanks,
Irshad
[ April 06, 2004: Message edited by: irshad ahmed ]
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Irshad-
I'm glad you're trying to learn more about Java and how it can help you to deal with problems (and I think you're on the right track with Exception Handling). But please don't post the same thread in multiple forums. It's very confusing and wastes peoples time when they answer a question thats already been answered elsewhere.
I've left the thread open in the Java in General (intermediate) forum, in order to continue the discussion. You can find it here.
 
    Bookmark Topic Watch Topic
  • New Topic