Rationalise writer exception hierarchy
This commit is contained in:
@@ -20,9 +20,7 @@ import java.util.List;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.batch.item.ClearFailedException;
|
||||
import org.springframework.batch.item.ItemWriter;
|
||||
import org.springframework.batch.support.transaction.FlushFailedException;
|
||||
import org.springframework.batch.support.transaction.TransactionAwareProxyFactory;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
|
||||
@@ -64,12 +62,4 @@ public class EmptyItemWriter<T> implements ItemWriter<T>, InitializingBean {
|
||||
return list;
|
||||
}
|
||||
|
||||
public void clear() throws ClearFailedException {
|
||||
// no-op
|
||||
}
|
||||
|
||||
public void flush() throws FlushFailedException {
|
||||
// no-op
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user