This content has been marked as final.
Show 3 replies
-
1. Re: General Exception Handling in JBPM
kukeltje Oct 16, 2007 8:02 AM (in response to cynosure)If it works, it sounds like there is nothing wrong with this. I'm only not sure what happens if this occurs in one of the legs of a fork and the join is entered from the 'other' leg.
Would be nice if you could show us a full example, maybe on the wiki? Many people are interested I think. -
2. Re: General Exception Handling in JBPM
kukeltje Oct 16, 2007 8:03 AM (in response to cynosure)Maybe we could even introduce a kind of errortask node that has all this behaviour in it in a nice configurable way.
-
3. Re: General Exception Handling in JBPM
cynosure Oct 16, 2007 8:51 AM (in response to cynosure)"kukeltje" wrote:
If it works, it sounds like there is nothing wrong with this. I'm only not sure what happens if this occurs in one of the legs of a fork and the join is entered from the 'other' leg.
Would be nice if you could show us a full example, maybe on the wiki? Many people are interested I think.
Ronald,
The posted code pretty much shows you which classes you should use. In theDoSomethingWrongActionHandler
class I just throw an exception which is then handled by the jBPM framework and invokes the definedHandleBackendExceptionActionHandler
class.
I could, however, decide to post the example stuff as attachments on the wiki.
I didn't test it with forks yet, but will put this on my (oh so overloaded) to do list ;)...
Tnx for the reply!
--
Yuri