Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with catch and finally

 
Angela lewis
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


If Hello.txt does not exist then the output would be

No such file found
Doing finally
-1

Why isn't it
No such file found
Doing finally
-1

Thanks
 
Swamy Nathan
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something seems to be wrong with the question (I think)?
 
Looluo Zhu
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the question should be

No such file found
Doing finally
0

Why isn't it
No such file found
Doing finally
-1


and this thread has the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic