Some refactoring

This commit is contained in:
Shubhra Srivastava 2020-02-11 07:26:44 +05:30 committed by GitHub
parent dfcc982e8f
commit 6dd702867e
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public class SpringBatchRetryConfig {
@Value("file:xml/retryOutput.xml")
private Resource outputXml;
public ItemReader<Transaction> itemReader(Resource inputData) throws UnexpectedInputException, ParseException {
public ItemReader<Transaction> itemReader(Resource inputData) throws Exception {
DelimitedLineTokenizer tokenizer = new DelimitedLineTokenizer();
tokenizer.setNames(tokens);
DefaultLineMapper<Transaction> lineMapper = new DefaultLineMapper<>();