CS/SWE 332 Assignment 2
Due Wednesday, September 12, 2018


Goal: Contract Model and Exception Handling.
Modify the class Loan so that months() handles its preconditions with one or more exceptions. Be sure to document this properly in the Requires and Effects. clauses. You are welcome to use JavaDoc instead of Liskov's notation. Use the standard exceptions listed in Bloch.
You do not need to provide any user interface, just the class Loan.



Grading Criteria: