Skip to main content

Error Handling

  • Chapter
Compiler Construction

Part of the book series: Texts and Monographs in Computer Science ((MCS))

  • 211 Accesses

Abstract

Error handling is concerned with failures due to many causes: errors in the compiler or its environment (hardware, operating system), design errors in the program being compiled, an incomplete understanding of the source language, transcription errors, incorrect data, etc. The tasks of the error handling process are to detect each error, report it to the user, and possibly make some repair to allow processing to continue. It cannot generally determine the cause of the error, but can only diagnose the visible symptoms. Similarly, any repair cannot be considered a correction (in the sense that it carries out the user’s intent); it merely neutralizes the symptom so that processing may continue.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1984 Springer-Verlag New York Inc.

About this chapter

Cite this chapter

Waite, W.M., Goos, G. (1984). Error Handling. In: Compiler Construction. Texts and Monographs in Computer Science. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-5192-7_12

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-5192-7_12

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4612-9731-4

  • Online ISBN: 978-1-4612-5192-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics