Error and Exception Handling


Error handling is a major aspect of serious software development. It is represents a significant part of the total development effort, (and not the fun part either). Today we are going to discuss error handling techniques in general, and their specific incarnations in Java.

Exceptions: General

The basic problems Exception mechanisms are trying to solve are:

Exceptions: Java

Throwing Exceptions

Exception handling: catch

  • Error Recovery
  • Recitation: Debugging in Java