[jboss-user] [Beginners Corner] - token.setNode(node);

pieter@TA do-not-reply at jboss.com
Mon Apr 21 10:24:23 EDT 2008


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



More information about the jboss-user mailing list