Easy learning with example program codes

what is rethrowing an exception in java?

Normally, exceptions raised in the try block are handled in the corresponding catch block. If it is unable to handle the exception, it can re-throw that exception using throw keyword. It is known as re-throwing an exception.

Java interview questions on exception handling

Copyright © 2018 CodesJava Protection Status SiteMap