BATCH-304: Created new job launcher that does not use BeanFactoryLocator.

This commit is contained in:
lucasward
2008-01-24 13:40:55 +00:00
parent d922345309
commit 5bc993e350
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
/*
* Copyright 2006-2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.batch.core.domain;
/**
* Checked exception indicating that an Incorrect number of jobs has
* been found.
*
* @author Lucas Ward
*
*/
public class IncorrectJobCountException extends JobException {
public IncorrectJobCountException(String msg) {
super(msg);
}
public IncorrectJobCountException(String msg, Throwable e) {
super(msg, e);
}
}

View File

@@ -25,6 +25,8 @@ package org.springframework.batch.core.domain;
*/
public class NoSuchJobException extends JobException {
private static final long serialVersionUID = -8044082897778706564L;
/**
* Create an exception with the given message.
*/