28.0k views
1 vote
What does it mean to catch an exception?

1 Answer

4 votes

Answer:

An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions. When an error occurs within a method, the method creates an object and hands it off to the runtime system. ... This block of code is called an exception handler.

User Heroic
by
8.3k points

No related questions found