Ejemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void execute(org.camunda.bpm.engine.impl.pvm.delegate.ActivityExecution execution) throws Exception
        public virtual void execute(ActivityExecution execution)
        {
            BpmnExceptionHandler.propagateError(errorCode, null, null, execution);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// It's used to propagate the bpmn error from an external task. </summary>
        /// <param name="error"> the error which should be propagated </param>
        /// <param name="execution"> the current activity execution </param>
        /// <exception cref="Exception"> throws an exception if no handler was found </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void propagateBpmnError(org.camunda.bpm.engine.delegate.BpmnError error, org.camunda.bpm.engine.impl.pvm.delegate.ActivityExecution execution) throws Exception
        public virtual void propagateBpmnError(BpmnError error, ActivityExecution execution)
        {
            BpmnExceptionHandler.propagateBpmnError(error, execution);
        }