On Wed, Jun 18, 2008 at 12:19 PM, Lim Hock-Chai
<Lim.Hock-Chai@xxxxxxxxxxxxxxx> wrote:
Personally, I think java's try/catch is so overrated. What do you do when you catch an
error?

close files, release the locks, ...

someone posts here a question about "resource unavailable" that is
related to an IFS file that cant be opened. The cause being another
job which has neglected to close the IFS file it opened. try finally
blocks eliminate this class of problem in your applications.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.