fixed exception parse bug. and add ir.a2 test.