This week's book giveaway is in the Spring forum. We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line! See this thread for details.
finally creates a block of code that will be executed after try/catch block is completed. The finally block will execute whether or not exception is thrown..
It's just the same as if you had an exception thrown anywhere else... try it and see. Will you need to handle it? That depends on whether or not it's a checked exception.