public interface IErrorHandler<ACTOR extends ChainPiece>
Modifier and Type | Method and Description |
---|---|
ChainPiece |
onError(ACTOR actor,
Chain.ChainException e)
Handler function which will be called when an IPiece instance catches ChainException.
|
ChainPiece |
onUnerror(ACTOR actor,
Chain.ChainException e) |
ChainPiece onError(ACTOR actor, Chain.ChainException e)
actor
- Piece instance which catches ChainException.e
- ChainException object which an IPiece instance catches.ChainPiece onUnerror(ACTOR actor, Chain.ChainException e)