Patched up SymTableVisitor to gather exceptions and exit.