修改错误信息。

This commit is contained in:
zhouxy108 2023-06-25 09:16:31 +08:00
parent 9d5fd0ff56
commit cdf9a65121

View File

@ -233,7 +233,7 @@ public class SimpleJdbcTemplate {
}
public <T extends Exception> void tx(final IAtom<T> atom) throws SQLException, T {
Assert.notNull(atom, "Tx can not be null.");
Assert.notNull(atom, "Atom can not be null.");
try {
this.conn.setAutoCommit(false);
atom.execute();