1 Reply Latest reply on Dec 1, 2008 4:39 AM by frantisek.kocun

    Exception handling

    amiratalbi

      Hi ;

      I have a processDefinition where I modeled a general Exception handler. But, the process seems to ignore that handler :( So I tried to place the exception handler in one specific action, and... Nothing is happening. The handler is ignored

      <?xml version="1.0" encoding="UTF-8"?>
      
       <process-definition name="jbpm_process">
      
       <exception-handler>
       <action class="*****.actions.ProcessExceptionHandler"/>
       </exception-handler>
      
      </process-definition>


      Any suggestions?
      thkx in advance

        • 1. Re: Exception handling
          frantisek.kocun

          It works for me. If you don't specify exception class it should catch Throwable. So it must work for you as well. Only thing which is weird, is that I can't configure Action in exception-handler when I use config-type="bean". When using the same action without this it works fine. And when using the same action in node with config-type="bean", it works as well.

          Fero