Skip to main content

Java Exceptions

  • Chapter
Essential Java 2 fast

Part of the book series: Essential Series ((ES))

  • 580 Accesses

Abstract

Every application that we write or use has errors. In most circumstances these bugs are not so major that the application is impossible to use. Some errors which occur when an application runs are so serious that the application cannot continue, for example running out of memory or a failure of the hardware, however sometimes problems do occur when an application runs that we can anticipate and take some corrective action. If, for example, we try to open a file which does not exist an error will occur. You can catch this, display an error message and ask for another filename to be specified.

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
Softcover Book
USD 54.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

© 1999 Springer-Verlag London

About this chapter

Cite this chapter

Cowell, J. (1999). Java Exceptions. In: Essential Java 2 fast. Essential Series. Springer, London. https://doi.org/10.1007/978-1-4471-0573-2_14

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-0573-2_14

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-85233-071-2

  • Online ISBN: 978-1-4471-0573-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics