Remove use of deprecated constructor

This commit is contained in:
dsyer
2008-04-11 07:04:33 +00:00
parent 70d1098844
commit eb518799cf
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
}

View File

@@ -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);
}
/**