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

go to home page   go to next page

CHAPTER 101 — 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( Exception exp )
{
}

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


go to home page   go to next page