[jboss-user] [jBPM] - how to signal event to process if exception in workItemHandler internal
Nick Tan
do-not-reply at jboss.com
Thu May 12 11:17:52 EDT 2011
Nick Tan [http://community.jboss.org/people/missedone] created the discussion
"how to signal event to process if exception in workItemHandler internal"
To view the discussion, visit: http://community.jboss.org/message/604986#604986
--------------------------------------------------------------
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
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/604986#604986]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110512/3444c9ff/attachment.html
More information about the jboss-user
mailing list