Replace deprecated CPPUNIT_TEST_EXCEPTION with code using CPPUNIT_ASSERT_THROW.
Authored by: smr99 2008-02-21
Parent: [r566]
Child: [r568]