spring-batch icon indicating copy to clipboard operation
spring-batch copied to clipboard

Update missing information about error handling in ChunkListener doc

Open injae-kim opened this issue 1 year ago • 0 comments

related issue #4384

Motivation:

Chunk listeners are not designed to throw exceptions. 
Exceptions must be handled in the implementation or the step will terminate. 
This is mentioned in the javadoc of TerminateOnExceptionChunkListenerDelegate, but this class is private.
  • We found that ChunkListener is designed to not throw exception, but this important details is missing on ChunkLisnter doc now, only on private class TerminateOnExceptionChunkListenerDelegate.

Modification:

  • Update missing information about error handling in ChunkListener doc

Result:

  • Now user can easily know ChunkListener is designed to now throw exception or step will terminate by javadoc
  • Close #4384

injae-kim avatar Nov 17 '23 11:11 injae-kim