Browse Source

update document

xuxueli 5 years ago
parent
commit
50e1bf8c70

+ 1 - 1
xxl-job-core/src/main/java/com/xxl/job/core/executor/impl/XxlJobSpringExecutor.java View File

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