public abstract class AbstractChunkListener extends java.lang.Object implements ChunkListener
| Constructor and Description |
|---|
AbstractChunkListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterChunk()
Override this method if the ChunkListener
will do something after the chunk ends.
|
void |
beforeChunk()
Override this method if the ChunkListener
will do something before the chunk begins.
|
void |
onError(java.lang.Exception ex)
Override this method if the ChunkListener will do
something before the chunk transaction is rolled back.
|
public void beforeChunk()
throws java.lang.Exception
beforeChunk in interface ChunkListenerjava.lang.Exception - (or subclass) if an error occurs.public void onError(java.lang.Exception ex)
throws java.lang.Exception
onError in interface ChunkListenerex - specifies the exception that
caused the roll back.java.lang.Exception - (or subclass) throw if an error occurs.public void afterChunk()
throws java.lang.Exception
afterChunk in interface ChunkListenerjava.lang.Exception - (or subclass) if an error occurs.