Package org.hive2hive.core.processes.util

Source Code of org.hive2hive.core.processes.util.FailingProcessStep

package org.hive2hive.core.processes.util;

import org.hive2hive.core.processes.framework.abstracts.ProcessStep;
import org.hive2hive.core.processes.framework.exceptions.InvalidProcessStateException;
import org.hive2hive.core.processes.framework.exceptions.ProcessExecutionException;

public class FailingProcessStep extends ProcessStep {

  @Override
  protected void doExecute() throws InvalidProcessStateException, ProcessExecutionException {
   
    throw new ProcessExecutionException("Test process step that must fail.");
  }

}
TOP

Related Classes of org.hive2hive.core.processes.util.FailingProcessStep

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.