ABSTRACT

Errors seem to be in the nature of computer systems. The logical complexity of programs, as well as the mechanical diversity of the hardware, advises that we consider program errors as likely events. Ignoring the possibility of errors leads to a “hope for the best” attitude in programming that is both immature and dangerous. In this chapter we look at Java's extensive and powerful support for handling program errors.