Skip to main content
  • 558 Accesses

Zusammenfassung

Ein wichtiges Ziel der objektorientierten Programmierung (OOP) ist die Behandlung von Ausnahmefällen (englisch exception). Die wichtigsten Ausnahmefälle sind die Laufzeitfehler (englisch runtime error), die während des Programmlaufs auftreten, u. a.

  • Division durch Null,

  • Wurzelziehen aus negativer Zahl,

  • falscher Index bei einem Array,

  • Arithmetik-Überlauf,

  • Eingabe falscher Parameter,

  • Zugriff auf nicht vorhandene Datei.

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 49.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 34.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.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Friedr. Vieweg & Sohn Verlag/GWV Fachverlage GmbH, Wiesbaden

About this chapter

Cite this chapter

Herrmann, D. (2004). Exceptions. In: Grundkurs C++ in Beispielen. Vieweg+Teubner Verlag. https://doi.org/10.1007/978-3-322-80347-4_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-322-80347-4_19

  • Publisher Name: Vieweg+Teubner Verlag

  • Print ISBN: 978-3-528-54655-7

  • Online ISBN: 978-3-322-80347-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics