javax.batch.api.chunk.listener
Interface SkipProcessListener
public interface SkipProcessListener
SkipProcessListener intercepts skippable itemProcess exception handling.
|
Method Summary |
void |
onSkipProcessItem(java.lang.Object item,
java.lang.Exception ex)
The onSkipProcessItem method receives control when a skippable exception
is thrown from an ItemProcess processItem method. |
onSkipProcessItem
void onSkipProcessItem(java.lang.Object item,
java.lang.Exception ex)
throws java.lang.Exception
- The onSkipProcessItem method receives control when a skippable exception
is thrown from an ItemProcess processItem method. This method receives
the exception and the item to process as an input.
- Parameters:
item - specifies the item passed to the ItemProcessor.ex - specifies the exception thrown by the ItemProcessor.
- Throws:
java.lang.Exception - is thrown if an error occurs.
Copyright © 2013. All Rights Reserved.