O'Reilly logo

Java™ for COBOL Programmers, Third Edition by John C. Byrne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9 Exceptions, Threads, and Garbage Collectors

Proper error handling is a feature found in every well-designed system. A good system not only checks for and reports the obvious errors, but it also plans for and properly manages the unexpected errors. The general rules for good error handling in any language might be stated this way:

  • Make sure to check for all possible error conditions.

  • If your program can handle the error properly ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required