Class ScriptTaskActivityBehavior

    • Constructor Detail

      • ScriptTaskActivityBehavior

        public ScriptTaskActivityBehavior​(ExecutableScript script,
                                          String resultVariable)
    • Method Detail

      • checkIfCauseOfExceptionIsBpmnError

        protected BpmnError checkIfCauseOfExceptionIsBpmnError​(Throwable e)
        Searches recursively through the exception to see if the exception itself or one of its causes is a BpmnError.
        e - the exception to check
        the BpmnError that was the cause of this exception or null if no BpmnError was found