1、throws Exception事务回滚
public void test() throws Exception { dao.do1(); "".substring(1); dao.do2(); }