[jboss-user] [jBPM] New message: "Re: Exception handling in JBPM4 ?"

Santanu Saraswati do-not-reply at jboss.com
Mon Feb 15 13:27:09 EST 2010


User development,

A new message was posted in the thread "Exception handling in JBPM4 ?":

http://community.jboss.org/message/526444#526444

Author  : Santanu Saraswati
Profile : http://community.jboss.org/people/saraswati.santanu

Message:
--------------------------------------------------------------
Exception is strictly for exceptional conditions.. specially runtime exceptions. This has nothing to do with jBPM, this is a general practice for Java (and for most of other languages which has exception construct). You might like to refer to Effective Java, chapter 9.
 
Exception should not be used as a valid business case. If you think you can recover from an exception (and create history entries etc.) then you should catch and handle it gracefully. Committing some information on the event of an exception is dangerous and beats the purpose of transaction. I do not think will be supported in any way.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/526444#526444




More information about the jboss-user mailing list