RESOLVED - issue BATCH-1411: Allow a Job to specify its required JobParameters

Fix build
This commit is contained in:
dsyer
2009-11-11 22:03:02 +00:00
parent 0dba72d2a6
commit 2952ed5233

View File

@@ -29,6 +29,7 @@ import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobExecutionListener;
import org.springframework.batch.core.JobParameter;
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersInvalidException;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.job.SimpleJob;
import org.springframework.batch.core.launch.JobLauncher;
@@ -175,6 +176,9 @@ public class StepRunner {
catch (JobInstanceAlreadyCompleteException e) {
throw new RuntimeException(e);
}
catch (JobParametersInvalidException e) {
throw new RuntimeException(e);
}
}
/**