Skip to main content

1998 | OriginalPaper | Buchkapitel

Exceptions

verfasst von : William Buchanan, Bsc, CEng, PhD

Erschienen in: Mastering Java

Verlag: Macmillan Education UK

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Many errors can occur in a program. In most programming languages they can cause a program to crash or act unpredictably. For example C and Pascal can cause a run-time error when the program accesses an array element which does not correspond with the number of elements which have been declared. In Java an error causes an exception, which can be tested and handled in the required mode. The format is:

Metadaten
Titel
Exceptions
verfasst von
William Buchanan, Bsc, CEng, PhD
Copyright-Jahr
1998
Verlag
Macmillan Education UK
DOI
https://doi.org/10.1007/978-1-349-14772-4_12