Remove use of deprecated constructor
This commit is contained in:
@@ -218,7 +218,7 @@ public class SimpleJob extends AbstractJob {
|
||||
throw (Error) t;
|
||||
}
|
||||
else {
|
||||
throw new UnexpectedJobExecutionException(t);
|
||||
throw new UnexpectedJobExecutionException("Unexpected checked exception in job execution", t);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@ public abstract class AbstractStep implements Step, InitializingBean, BeanNameAw
|
||||
else if (e instanceof RuntimeException) {
|
||||
throw (RuntimeException) e;
|
||||
}
|
||||
throw new UnexpectedJobExecutionException(e);
|
||||
throw new UnexpectedJobExecutionException("Unexpected checked exception in step execution", e);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user