[BATCH-430] Renamed InfrastructureException to UnexpectedJobExecutionException
This commit is contained in:
@@ -21,7 +21,7 @@ package org.springframework.batch.core;
|
||||
* Exception to indicate the the job has been interrupted. The exception state
|
||||
* indicated is not normally recoverable by batch application clients, but
|
||||
* internally it is useful to force a check. The exception will often be wrapped
|
||||
* in a runtime exception (usually {@link InfrastructureException} before
|
||||
* in a runtime exception (usually {@link UnexpectedJobExecutionException} before
|
||||
* reaching the client.
|
||||
*
|
||||
* @author Lucas Ward
|
||||
|
||||
@@ -23,7 +23,7 @@ package org.springframework.batch.core;
|
||||
* @author Lucas Ward
|
||||
*
|
||||
*/
|
||||
public class InfrastructureException extends RuntimeException {
|
||||
public class UnexpectedJobExecutionException extends RuntimeException {
|
||||
private static final long serialVersionUID = 8838982304219248527L;
|
||||
|
||||
/**
|
||||
@@ -32,7 +32,7 @@ public class InfrastructureException extends RuntimeException {
|
||||
* @param msg the exception message.
|
||||
*
|
||||
*/
|
||||
public InfrastructureException(String msg) {
|
||||
public UnexpectedJobExecutionException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ public class InfrastructureException extends RuntimeException {
|
||||
* @param msg the exception message.
|
||||
*
|
||||
*/
|
||||
public InfrastructureException(String msg, Throwable nested) {
|
||||
public UnexpectedJobExecutionException(String msg, Throwable nested) {
|
||||
super(msg, nested);
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ public class InfrastructureException extends RuntimeException {
|
||||
* Constructs a new instance with a nested exception. The error code is
|
||||
* defaulted to 1 and the message is empty.
|
||||
*/
|
||||
public InfrastructureException(Throwable nested) {
|
||||
public UnexpectedJobExecutionException(Throwable nested) {
|
||||
super(nested);
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ public class InfrastructureException extends RuntimeException {
|
||||
* Constructs a new instance, the error code is defaulted to one and the
|
||||
* message is empty.
|
||||
*/
|
||||
public InfrastructureException() {
|
||||
public UnexpectedJobExecutionException() {
|
||||
super();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user