0 Replies Latest reply on May 12, 2011 11:17 AM by Nick Tan

    how to signal event to process if exception in workItemHandler internal

    Nick Tan Newbie

      hi, folks

       

      i'm looking for a way to signal some event (e.g. fail) to process, if there's (checked/unchecked) exception in workItemHandler internally?

      so that the process can have a chance to handle the event?

       

      i read the interface, org.drools.runtime.process.WorkItemHandler.executeWorkItem(WorkItem, WorkItemManager)

      there's no any Exception qualifier for this method signature

      lot of the implementation just eat the exception by "e.printStackTracc()" if there's any exception, for example: org.jbpm.bpmn2.handler.ServiceTaskHandler, and org.jbpm.process.workitem.google.calendar.GoogleCalendarWorkItemHandler

       

      is it designed by intent?

      any suggestion to hande this case?

      thanks

       

      --

      Nick