Advertisement

Runtime Errors and Exceptions

  • Ivor Horton
  • Peter Van Weert
Chapter

Abstract

Exceptions are used to signal errors or unexpected conditions in a program. While other error-handling mechanisms do exist, exceptions generally lead to simpler, cleaner code, in which you are less likely to miss an error.

Copyright information

© Ivor Horton and Peter Van Weert 2018

Authors and Affiliations

  • Ivor Horton
    • 1
  • Peter Van Weert
    • 2
  1. 1.Stratford-upon-AvonUK
  2. 2.Kessel-LoBelgium

Personalised recommendations