Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Null pointer before finally block  RSS feed

 
Santosh Kumar Nayak
Ranch Hand
Posts: 153
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is a NULL Pointer Exception before FINALLY BLOCK then will the finally block get executed ?
 
Stephan van Hulst
Saloon Keeper
Posts: 6980
110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the Oracle tutorial on the finally-block?

http://docs.oracle.com/javase/tutorial/essential/exceptions/finally.html
 
Santosh Kumar Nayak
Ranch Hand
Posts: 153
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the useful link
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!