Commit bfa97591205908621e6b029d72d2b55237e26082

Authored by 云中非
1 parent e6769256

fix(DEFECT-831): 定时任务调用方法不存在,提示内容修改

@@ -117,7 +117,7 @@ public class ScheduleUtils { @@ -117,7 +117,7 @@ public class ScheduleUtils {
117 try{ 117 try{
118 obj = SpringBeanUtils.getBean(StringUtils.split(invokeTarget, ".")[0]); 118 obj = SpringBeanUtils.getBean(StringUtils.split(invokeTarget, ".")[0]);
119 }catch (Exception e){ 119 }catch (Exception e){
120 - throw new YtDataValidationException(e.getMessage()); 120 + throw new YtDataValidationException("调用方法【"+invokeTarget+"】不存在");
121 } 121 }
122 return containsAnyIgnoreCase( 122 return containsAnyIgnoreCase(
123 obj.getClass().getPackage().getName(), 123 obj.getClass().getPackage().getName(),