update document

master
xuxueli 5 years ago
parent a129b07f98
commit 50e1bf8c70
  1. 2
      xxl-job-core/src/main/java/com/xxl/job/core/executor/impl/XxlJobSpringExecutor.java

@ -46,7 +46,7 @@ public class XxlJobSpringExecutor extends XxlJobExecutor implements ApplicationC
String name = serviceBean.getClass().getAnnotation(JobHandler.class).value();
IJobHandler handler = (IJobHandler) serviceBean;
if (loadJobHandler(name) != null) {
throw new RuntimeException("xxl-job jobhandler naming conflicts.error name:"+name);
throw new RuntimeException("xxl-job jobhandler["+ name +"] naming conflicts.");
}
registJobHandler(name, handler);
}

Loading…
Cancel
Save