[jboss-user] [jBPM] - Re: Exception Handler support in jBPM 4.4

Michael Wohlfart do-not-reply at jboss.com
Mon Nov 8 12:43:43 EST 2010


Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the discussion

"Re: Exception Handler support in jBPM 4.4"

To view the discussion, visit: http://community.jboss.org/message/570118#570118

--------------------------------------------------------------
What I had in mind was something like a NPE because one of your process variables is not initialized, for example a programming error in your form validation.
I don't think low level exceptions like this should be handled in a higher level context like the Process Engine, you could probably initialize a transition into an "error" state but this would violate the "Crash, Don't Trash" principle.
Having said that, I also think it probably makes sense in some cases to have an exception handling in your process definition. As far as I know this is implemented in jBPM3, see:   http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#exceptionhandler.element http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#exceptionhandler.element, unfortunately jBoss stopped development on jBPM4 before this was implemented in jBPM4.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/570118#570118]

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/20101108/e9370e7d/attachment.html 


More information about the jboss-user mailing list