Spring-batch : How to catch exception message with skip method in spring batch?
问题 I am a novice of spring batch. My question is how to catch exceptions with the skip method in spring-batch? As I know, we can use a skip method to skip them when some exceptions happened in spring batch. But how can I get the exception message with skip method? somebody suggested me use SkipListener ,this class has three call back method like onSkipInProcess() ,but it is no use for me. And ItemProcessListener did not work either. The code like below:(I use skip method to ignore the exception