IE
- An initialize exception in case initializing of the implementing
interceptor failed.WP
- The work piece which is being passed to the implementing
interceptor and which is processed by the interceptor.WPE
- A work piece exception in case processing of the work piece
failed by one the implementing interceptor.public interface Interceptor<WP>
Modifier and Type | Method and Description |
---|---|
boolean |
doIntercept(WP aWorkPiece)
This method is invoked with a work as argument.
|
boolean doIntercept(WP aWorkPiece) throws WorkPieceException
aWorkPiece
- The work piece which is to be processed by the
interceptor.WorkPieceException
- In case the interceptor was not able to work
with the provided work piece, then an according work piece
exception is thrown.Copyright © 2016. All rights reserved.