A catch block may not have the ability to handle certain type of exceptions or may decide that the exception should be handled by the calling block or environment. In such cases the programmer has the ability to _____. rethrow the exception restart the program enter error-handling instructions during runtime remove the exception

Respuesta :

Answer:

rethrow the exception.

Explanation:

If it is unable to tackle the specific exception that catch block is captured  then we should use rethrow the exception.

The expression of rethrow allows the subject to thrown again. In Java rethrow exception enables  to indicate more particular types of exceptions  of declaration of method in throws clause.

ACCESS MORE
EDU ACCESS
Universidad de Mexico