throw IOException in BatchProcessor