public interface ChunkListener
| Modifier and Type | Method and Description |
|---|---|
void |
afterChunk()
The afterChunk method receives control
after processing of the current
chunk ends.
|
void |
beforeChunk()
The beforeChunk method receives control
before processing of the next
chunk begins.
|
void |
onError(Exception ex)
The onError method receives control
before the chunk transaction is rolled back.
|
void beforeChunk()
throws Exception
Exception - throw if an error occurs.void onError(Exception ex) throws Exception
ex - specifies the exception that
caused the roll back.Exception - throw if an error occurs.Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.