修改错误信息。

feature/net-util
ZhouXY108 2023-06-25 09:16:31 +08:00
parent 9d5fd0ff56
commit cdf9a65121
1 changed files with 1 additions and 1 deletions

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();