Ask a Teacher



what is meant by exception handling

Exception handling is a programming language construct or computer hardware mechanism designed to handle the occurrence of exceptions, special conditions that change the normal flow of program execution.


The Java programming language uses exceptions to handle errors and other exceptional events.An exception is an event that occurs during the execution of a program that disrupts the normal flow of instructions.The use of exceptions to manage errors has some advantages over traditional error-management techniques.


comments powered by Disqus