04/30/00; revised 09/13/00, 07/06/02, 06/07/03


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:

QUESTION 1:

Here is a catch{} block:

catch( NumberFormatException exp )
{
}

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