droolsjbpm/jbpm — pull request #82 by jbride (2012-04-11 13:46:11+00:00)
Title: more descriptive jbpm-flow exceptions

introduces modifications to jbpm-flow that throw more descriptive exception messages.
the new exception messages provide context to the problem and allows for a BRMS system admin to isolate workFlow related problems more quickly.

The following is an example of an existing workflow exception thrown by jbpm5 prior to this patch :
Caused by: java.lang.RuntimeException: unable to execute Action

with this patch applied, the following is an example of the new exception providing context to the root problem:
Caused by: org.jbpm.workflow.instance.WorkflowRuntimeException : unable to execute Action, NodeId=8, NodeName=”ExitScript”, ProcessId=”ErrorAfterFirstSafePoint”