-
1. Re: exception-handler with custom exception in jbpm 3.2.6
kukeltje Aug 13, 2009 1:24 PM (in response to massimo.zanette)With simple unit tests you do not use the process classloader from the database, but the normal classloader. Since the custom exception is on the latter it works. Afaik (but I'm not sure) jBPM only supports loading actionhandlers from the processclassloader and not all other classes.
The 'solution' is to not put the Exception in the processarchive but on another (web/ear/system/...) classpath -
2. Re: exception-handler with custom exception in jbpm 3.2.6
massimo.zanette Aug 14, 2009 5:18 AM (in response to massimo.zanette)I guess you are right, but this make me a little bit confusing.
Putting Action and exception-handler inside the Process Archive give me an easy (and already built) way for managing versioning (I'm thinking about point 18.2.2 in http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#delegation ).
Does it means that i can version Action but i can't version exception-handler? -
3. Re: exception-handler with custom exception in jbpm 3.2.6
kukeltje Aug 14, 2009 11:20 AM (in response to massimo.zanette)You can version the exception-handler class, but not the exception class.