•private
final void incrementBalance( int amount )
• throws
InsufficientFundsException
•{
• if ( . . . ) {
• throw new
InsufficientFundsException();
• }
•}
•Since incrementBalance might
throw an InsufficientFundsException and (if it does) it does
not catch it, it must declare its intention to throw it on up the
stack to its caller by asserting throws InsufficientFUndsException
•throws
means might throw, not does throw