The Artima Developer Community
Sponsored Link

Java Answers Forum
finally clause not executed

3 replies on 1 page. Most recent reply: Sep 22, 2005 5:42 AM by antonrechenauer

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Coden

Posts: 2
Nickname: coden
Registered: Sep, 2005

finally clause not executed Posted: Sep 16, 2005 9:13 AM
Reply to this message Reply
Advertisement
Hi All,
I am debugging some java code, and have noticed that the finally clauses are not being executed.
As far as I am aware, in a try-catch-finally block, the finally part should always be run.
Is this the case?
And if so, does anybody have any idea why this clause is being skipped over?
Kind regards,
Caroline


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: finally clause not executed Posted: Sep 18, 2005 10:16 PM
Reply to this message Reply
Code Snippet please?

lalama fodie toure

Posts: 11
Nickname: lalama11
Registered: Nov, 2004

Re: finally clause not executed Posted: Sep 21, 2005 5:44 AM
Reply to this message Reply
you should send your code here for examination
best regard

antonrechenauer

Posts: 2
Nickname: bleiglanz
Registered: Sep, 2005

Re: finally clause not executed Posted: Sep 22, 2005 5:42 AM
Reply to this message Reply
System.exit

is the only way to suppress finally...

Flat View: This topic has 3 replies on 1 page
Topic: how to run jcifs programs Previous Topic   Next Topic Topic: Meritted one off topic Question CVS

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use