Hi,

I try to jump to a specific node without the desired effect .
What is missing ?

public class ExceptionHandler implements ActionHandler {

    private static final long serialVersionUID = 1L;
    private static final Logger LOGGER = 
Logger.getLogger(ExceptionHandler.class);

    @Override
    public void execute(final ExecutionContext executionContext) throws 
Exception {

        final Throwable throwable = executionContext.getException();
        final StackTraceElement[] stackTrace = throwable.getStackTrace();
        LOGGER.error(stackTrace[0]);

        final Token token = executionContext.getToken();
        final Node node = 
executionContext.getProcessDefinition().getNode("SectionCleanup");
        token.setNode(node);

    }

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145535
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to