add: if (!fObject) throw CppUnit::Exception("BThreadedTestCaller::runTest() -- NULL fObject pointer"); if (!fObject->RegisterForUse()) throw CppUnit::Exception("BThreadedTestCaller::runTest() -- Attempt to reuse ThreadedTestCase object already in use");
context: BThreadedTestCaller<TestClass, ExpectedException>::setUp() {	fObject->setUp();}