aspose file tools*
The moose likes Beginning Java and the fly likes exception & proceed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "exception & proceed " Watch "exception & proceed " New topic
Author

exception & proceed

Mahesh Asrani
Greenhorn

Joined: Mar 03, 2005
Posts: 15
Hi All

How to acheive this in a java program.

Normally when in a java program an exception is raised the program comes to an abrupt halt.

How to avoid this & proceed even if the exception is raised i.e. not to break the further execution of the program

Bye
Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Java has a very good exception handling mechanism. You have to use

try { } catch(){} and finally blocks for handling exceptions.
Check this.
[ April 07, 2005: Message edited by: Srinivasa Raghavan ]

Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: exception & proceed