[jboss-user] [JBoss jBPM] - Re: Detecting Presence of ProcessInstance Without Exception?

diathesis do-not-reply at jboss.com
Wed Aug 8 11:42:18 EDT 2007


"kukeltje" wrote : ???? why is this such a problem for you

It's not a big deal, it's just generally accepted that using exceptions for flow control in Java (as opposed to unexpected, exceptional cases) is a performance issue.  The process of creating a stack trace in JNI is "expensive".  (e.g. http://weblogs.java.net/blog/tball/archive/2005/04/index.html)

As a result, if there's a way to avoid using exceptions for flow control, I prefer to avoid it.  Sounds like, in this case, there isn't.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072072#4072072

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072072



More information about the jboss-user mailing list