Exception handling
In computing and computer programming, exception handling is the process of responding to the occurrence of exceptions – anomalous or exceptional conditions requiring special processing – during the execution of a program.[src] In general, an exception breaks the normal flow of execution and executes a pre-registered exception handler; the details of how this is done depend on whether it is a hardware or software exception and how the software exception is implemented.[src] Exceptions are defined by different layers of a computer system, and the typical layers are CPU-defined interrupts, operating system (OS)-defined signals, and programming language-defined exceptions.[src] Each layer requires different ways of exception handling although they may be interrelated, e.g.[src] a CPU interrupt could be turned into an OS signal.[src] Some exceptions, especially hardware ones, may be handled so gracefully that execution can resume where it was interrupted.[src]
In computing and computer programming, exception handling is the process of responding to the occurrence of exceptions – anomalous or exceptional conditions requiring special processing – during the execution of a program.[src] In general, an exception breaks the normal flow of execution and executes a pre-registered exception handler; the details of how this is done depend on whether it is a hardware or software exception and how the software exception is implemented.[src] Exceptions are defined by different layers of a computer system, and the typical layers are CPU-defined interrupts, operating system (OS)-defined signals, and programming language-defined exceptions.[src] Each layer requires different ways of exception handling although they may be interrelated, e.g.[src] a CPU interrupt could be turned into an OS signal.[src] Some exceptions, especially hardware ones, may be handled so gracefully that execution can resume where it was interrupted.[src] {{codett|2=js|1=Vue.component('parent', {}} }) {{codett|2=js|1=Vue.component('child', {}} }) }} When used like this in markup: The error produced by the child component is caught and handled by the parent component.[src] ==See also== Triple fault Data validation Effect system ==References==[src]
14 sentences · 14 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Exception handling." encyclopegia.org, 2026, https://encyclopegia.org/wiki/exception-handling. Accessed 03 December 2026.
Chicago
"Exception handling." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/exception-handling.
APA
encyclopegia.org. (2026). Exception handling. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/exception-handling
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON