CS 112 - Introduction to Computer Science II
Homework #5


Due: At the beginning of class 15.

NOTE: This work is to be done in pairs.  I strongly recommend the practice of Pair Programming described simply here.  Although team members are permitted to divide work, each team member should be able to informally present all work of his/her teammate.

Exceptional FreeCell

1. Exceptional FreeCell: Revise your code from Homework #4 to reflect the proper use of exceptions according to this specification.  That is:

This transcript using game seed 2 illustrates the helpful error messages that can be communicated through exception handling. (Note: The plays shown are the input and are not printed on the output.)

Specified error messages:

Notes:

Examples of code modification:

Rubric: (20 points total)