Top Description Methods
jakarta.batch.api.chunk.listener

public Interface SkipReadListener


SkipReadListener intercepts skippable itemReader exception handling.

Method Summary

Modifier and TypeMethod and Description
public void
onSkipReadItem(Exception
specifies the exception thrown by the ItemReader.
ex
)

The onSkipReadItem method receives control when a skippable exception is thrown from an ItemReader readItem method.

Method Detail

onSkipReadItemback to summary
public void onSkipReadItem(Exception ex) throws Exception

The onSkipReadItem method receives control when a skippable exception is thrown from an ItemReader readItem method. This method receives the exception as an input.

Parameters
ex:Exception

specifies the exception thrown by the ItemReader.

Exceptions
Exception:
is thrown if an error occurs.