mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
修改错误的异常文本
This commit is contained in:
@@ -306,7 +306,7 @@ public class FlowExecutor {
|
||||
Integer slotIndex, boolean isInnerChain) throws Exception {
|
||||
if (null == param) {
|
||||
//data slot is a ConcurrentHashMap, so null value will trigger NullPointerException
|
||||
throw new NullParamException("data slot cann't accept null param");
|
||||
throw new NullParamException("data slot can't accept null param");
|
||||
}
|
||||
return this.execute0(chainId, param, slotClazz, slotIndex, isInnerChain);
|
||||
}
|
||||
@@ -369,7 +369,7 @@ public class FlowExecutor {
|
||||
boolean isInnerChain) {
|
||||
if (null == param) {
|
||||
//data slot is a ConcurrentHashMap, so null value will trigger NullPointerException
|
||||
throw new NullParamException("data slot cann't accept null param");
|
||||
throw new NullParamException("data slot can't accept null param");
|
||||
}
|
||||
return execute2Resp0(chainId, param, slotClazz, slotIndex, isInnerChain);
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public abstract class AbsSlot implements Slot {
|
||||
public <T> void setInput(String nodeId,T t){
|
||||
if (null == t) {
|
||||
//data slot is a ConcurrentHashMap, so null value will trigger NullPointerException
|
||||
throw new NullParamException("data slot cann't accept null param");
|
||||
throw new NullParamException("data slot can't accept null param");
|
||||
}
|
||||
dataMap.put(NODE_INPUT_PREFIX + nodeId, t);
|
||||
}
|
||||
@@ -67,7 +67,7 @@ public abstract class AbsSlot implements Slot {
|
||||
public <T> void setOutput(String nodeId,T t){
|
||||
if (null == t) {
|
||||
//data slot is a ConcurrentHashMap, so null value will trigger NullPointerException
|
||||
throw new NullParamException("data slot cann't accept null param");
|
||||
throw new NullParamException("data slot can't accept null param");
|
||||
}
|
||||
dataMap.put(NODE_OUTPUT_PREFIX + nodeId, t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user