Chapter 10. Exceptions: When Things Go Wrong


[Page 471]

OBJECTIVES

After studying this chapter, you will

  • Understand Java's exception-handling mechanisms.

  • Be able to use the Java try/catch statement.

  • Know how to design effective exception handlers.

  • Appreciate the importance of exception handling in program design.

  • Be able to design your own Exception subclasses.

OUTLINE

10.1

Introduction

10.2

Handling Exceptional Conditions

10.3

Java's Exception Hierarchy

10.4

Handling Exceptions within a Program

10.5

Error Handling and Robust Program Design

10.6

Creating and Throwing Your Own Exceptions

10.7

From the Java Library: javax.swing.JOptionPane

 

Chapter Summary

 

Solutions to Self-Study Exercises

 

Exercises





Java, Java, Java(c) Object-Orienting Problem Solving
Java, Java, Java, Object-Oriented Problem Solving (3rd Edition)
ISBN: 0131474340
EAN: 2147483647
Year: 2005
Pages: 275

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net