mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
style: optimize Exception message
This commit is contained in:
parent
33c84cb969
commit
d04ba5c0e5
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user