Dec 9, 11:05am Several fixes have been made to the MIS in the final exam example:
In class Doctor (Monitor), field
curPatt (curDoc) has been renamed
numPatt (numDoc) and now describes the
number of valid doctors (patients) in array-field
PA (DA).
In the constructor methods for classes DoctorSet
and LifesignSet, removed clauses that issue
exceptions when respective input-parameter arrays
DA and LA are null (this is
actually OK and indicates initialization of empty sets).
In the PersonMed and Patient inheritance
hierarchies,
it has been pointed out to me that we cannot rephrase
exceptions issued by parent-class constructors that are
invoked via super-calls in child-class
constructors (this is because a super-call
absolutely positively must be the first statement in
a child-class constructor and hence cannot be enclosed
in a try-catch statement). Hence, child-class
constructors now just pass on these parent-class
constructor exceptions.
In the PersonMed and Patient inheritance
hierarchies, clues have been added about exceptions that
need to rephrase other exceptions.