24282 před 2 roky
rodič
revize
d62ea9c5b4

+ 2 - 2
hx-flow/src/main/java/com/fjhx/flow/core/FlowBean.java

@@ -21,7 +21,7 @@ public class FlowBean {
      */
     public static void addBean(String flowKey, String beanName) {
         if (map.get(flowKey) != null) {
-            throw new RuntimeException("流程key:" + flowKey + " spring委托对象重复注册");
+            throw new RuntimeException("流程key:" + flowKey + " 重复注册");
         }
         map.put(flowKey, beanName);
     }
@@ -36,7 +36,7 @@ public class FlowBean {
 
         String beanName = map.get(flowKey);
         if (beanName == null) {
-            throw new ServiceException("没有把流程Key:" + flowKey + " 委托对象注册到spring中");
+            throw new ServiceException("没有把Key为 " + flowKey + " 的流程委托对象注册到spring中");
         }
 
         return SpringUtil.getBean(beanName);