go to home page   go to next page

created: 04/30/00; revised: 09/13/00, 07/06/02, 06/07/03, 07/22/06, 08/08/2011

CHAPTER 81 — More about Exceptions

Java exceptions provide a powerful mechanism for writing robust, user-friendly code. This chapter continues the discussion started in the last chapter.

Chapter Topics:


Here is a catch{} block:

catch( Exception exp )

When the block catches an exception, what does exp refer to?