{
d_exprManager = new ExprManager;
}
- catch (Exception e)
+ catch (Exception& e)
{
cerr << "Exception during setUp():" << endl << e;
throw;
{
try {
delete d_exprManager;
- } catch(Exception e) {
+ }
+ catch (Exception& e)
+ {
cerr << "Exception during tearDown():" << endl << e;
throw;
}
void testBadPop() {
SymbolTable symtab;
// TODO: What kind of exception gets thrown here?
- TS_ASSERT_THROWS( symtab.popScope(), ScopeException );
+ TS_ASSERT_THROWS(symtab.popScope(), ScopeException&);
}
};/* class SymbolTableBlack */