mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
optimize: 添加异常修复说明。
This commit is contained in:
parent
12bd776c9a
commit
462c8cea64
@ -55,11 +55,11 @@ public class ModifyAttrsRecordProxyFactory {
|
|||||||
|
|
||||||
T proxyObject = null;
|
T proxyObject = null;
|
||||||
try {
|
try {
|
||||||
//noinspection unchecked
|
// noinspection unchecked
|
||||||
proxyObject = (T) ClassUtil.newInstance(proxyClass);
|
proxyObject = (T) ClassUtil.newInstance(proxyClass);
|
||||||
((ProxyObject) proxyObject).setHandler(new ModifyAttrsRecordHandler());
|
((ProxyObject) proxyObject).setHandler(new ModifyAttrsRecordHandler());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LogFactory.getLog(ModifyAttrsRecordProxyFactory.class).error(e.toString(), e);
|
LogFactory.getLog(ModifyAttrsRecordProxyFactory.class).error("请为实体类添加公开的无参构造器!", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return proxyObject;
|
return proxyObject;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user