feature #I6MPYF 增加CATCH语法表达式

This commit is contained in:
everywhere.z
2023-03-14 17:03:12 +08:00
parent 065c086156
commit 94c55b34f0

View File

@@ -31,10 +31,10 @@ public class CatchCondition extends Condition{
if (ObjectUtil.isNotNull(doExecutable)){
doExecutable.setCurrChainId(this.getCurrChainId());
doExecutable.execute(slotIndex);
//catch之后需要把exception给清除掉
//正如同java的catch一样异常自己处理了属于正常流程了整个流程状态应该是成功的
DataBus.getSlot(slotIndex).removeException();
}
//catch之后需要把exception给清除掉
//正如同java的catch一样异常自己处理了属于正常流程了整个流程状态应该是成功的
DataBus.getSlot(slotIndex).removeException();
}
}