style: optimize Exception message

This commit is contained in:
开源海哥 2023-08-29 10:30:55 +08:00
parent 33c84cb969
commit d04ba5c0e5

View File

@ -54,11 +54,11 @@ public class DbChain extends QueryWrapperAdapter<DbChain> implements PropertySet
} }
public static DbChain create() { public static DbChain create() {
throw new UnsupportedOperationException("please use DbChain#table(...)"); throw new UnsupportedOperationException("Please use DbChain#table(...) to replace DbChain.create()");
} }
public static DbChain create(Object entity) { public static DbChain create(Object entity) {
throw new UnsupportedOperationException("please use DbChain#table(...)"); throw new UnsupportedOperationException("Please use DbChain#table(...) to replace DbChain.create(entity)");
} }
public static DbChain table(String tableName) { public static DbChain table(String tableName) {