public class SkipListenerAdapter<T,S> extends java.lang.Object implements SkipListener<T,S>
Constructor and Description |
---|
SkipListenerAdapter(javax.batch.api.chunk.listener.SkipReadListener skipReadDelgate,
javax.batch.api.chunk.listener.SkipProcessListener skipProcessDelegate,
javax.batch.api.chunk.listener.SkipWriteListener skipWriteDelegate) |
Modifier and Type | Method and Description |
---|---|
void |
onSkipInProcess(T item,
java.lang.Throwable t)
This item failed on processing with the given exception, and a skip was called
for.
|
void |
onSkipInRead(java.lang.Throwable t)
Callback for a failure on read that is legal, so is not going to be
re-thrown.
|
void |
onSkipInWrite(S item,
java.lang.Throwable t)
This item failed on write with the given exception, and a skip was called
for.
|
public SkipListenerAdapter(javax.batch.api.chunk.listener.SkipReadListener skipReadDelgate, javax.batch.api.chunk.listener.SkipProcessListener skipProcessDelegate, javax.batch.api.chunk.listener.SkipWriteListener skipWriteDelegate)
public void onSkipInRead(java.lang.Throwable t)
SkipListener
onSkipInRead
in interface SkipListener<T,S>
t
- cause of the failurepublic void onSkipInWrite(S item, java.lang.Throwable t)
SkipListener
onSkipInWrite
in interface SkipListener<T,S>
item
- the failed itemt
- the cause of the failurepublic void onSkipInProcess(T item, java.lang.Throwable t)
SkipListener
onSkipInProcess
in interface SkipListener<T,S>
item
- the failed itemt
- the cause of the failure