Exception handling

  • Authors:
  • James C. Spohrer;Ken Dickey

  • Affiliations:
  • -;-

  • Venue:
  • Encyclopedia of Computer Science
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Exception handling deals with mechanisms and techniques for detecting, recovering from, and dealing with errors that arise during program execution. Exception handling techniques are used by programmers to make programs robust. Exceptions arise when illegal operations are requested or the operands (q.v.) of an operation are inappropriate. For example, dividing by zero will cause an error in almost all systems. Robust programs deal gracefully with exceptions, whereas fragile programs stop or produce erroneous results when exceptions are encountered.