title: How can I throw exception in subprocess in Drools jbpm?
body: <p>I have several custom WorkItemHandlers, and handle the exception by using <a href="https://github.com/kiegroup/jbpm/blob/c6f0191520c7770d35c994c38d6687fe993c6625/jbpm-workitems/jbpm-workitems-core/src/main/java/org/jbpm/process/workitem/core/AbstractLogOrThrowWorkItemHandler.java" rel="nofollow noreferrer">handleException(e)</a>;</p>
  <pre><code>public abstract class AbstractItemHandler extends AbstractLogOrThrowWorkItemHandler implements WorkItemHandler
  </code></pre>
  <p>But I found a very strange thing, if the custom WorkItemHandler is in subprocess, there will be no exception when calling <code>kieSession.startProcess(MAIN_PROCESS_ID, processMap)</code>.</p>
  <p>It works when there is only one process(bpmn). But when there are more bpmn files, I found the ProcessInstance is return abnormal state.</p>
  <pre><code>    Assert.assertEquals(ProcessInstance.STATE_ABORTED, processInstance.getState());
  </code></pre>