previous | start | next

Self Check

  1. What is the purpose of the call super(message) in the second InsufficientFundsException constructor?
  2. Suppose you read bank account data from a file. Contrary to your expectation, the next input value is not of type double. You decide to implement a BadDataException. Which exception class should you extend?

previous | start | next