Jump to content

Exception handling

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 212.54.8.86 (talk) at 17:13, 24 June 2002. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Exception handling is the collection of routines designed to handle run-time errors or other problems, or exceptions inside a computer program, e.g. trying to divide with zero.

The role of exception handling is to allow the program to continue its normal operation and prevent crashing and displaying of cryptic error messages to the user.