Java exceptions provide a powerful mechanism for writing robust, user-friendly code. This chapter continues the discussion started in the last chapter.
catch parameterIndexOutOfBoundsExceptionthrows clausethrow statementException class
Here is a catch{} block:
catch( Exception exp )
{
}
When the block catches an exception, what does exp refer to?