Exception Definition

Exception

Exception in software development is a term that feels like genetic engineering — refers to unexpected events occurring when the program is executing disrupting the normal flow of system operations. It’s a slippery slope process arising from invalid input, hardware failures, network issues or bugs and when it occurs the system halts its normal execution transferring control to a specific part of code written by developer.

Why is it essential? — you are improving reliability and robustness of your application or software having a mechanism for handling errors that come out of left field. Within exception developers are able to procedure codes that are resilient and easy-to-maintain simultaneously. In more than common cases programming languages have built-in support for handling exceptions allowing developers to encapsulate code.