Skip to main content

Exceptionhandling in C++

  • Chapter
  • First Online:
Softwareentwicklung mit C++

Part of the book series: Studienbücher Informatik ((SBI))

  • 11k Accesses

Zusammenfassung

In allen bisher besprochenen Kapiteln sind wir davon ausgegangen, dass immer alles so funktioniert, wie wir es erhoffen. Nun ist die gelebte Realität bei weitem nicht so. Ein einfaches new kann einmal nicht funktionieren; der Speicher ist einfach defekt und es kann deshalb kein Speicher reserviert werden. Was tun? Wie geht man damit um? Die allgemein angetroffene These ist dann meist, dass man da auch nichts tun kann. Sicherlich, Sie können nicht verhindern, dass es zu so einem Ausfall kommt, aber Sie können Vorkehrungen treffen, dass bei einem solchen Ausfall das Programm nicht gleich terminiert. Und Sie sollten sich ”workarounds” ”stricken”, die sicherstellen, dass Sie einen solchen Ausfall leicht im Nachhinein detektieren können.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

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

Corresponding author

Correspondence to Dieter Duschl .

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer Fachmedien Wiesbaden

About this chapter

Cite this chapter

Duschl, D. (2014). Exceptionhandling in C++. In: Softwareentwicklung mit C++. Studienbücher Informatik. Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-658-01586-2_7

Download citation

Publish with us

Policies and ethics