public class TrapHandler
extends java.lang.Object
Constructor and Description |
---|
TrapHandler(FlowProcess flowProcess) |
TrapHandler(FlowProcess flowProcess,
Tap trap,
java.lang.String trapName) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleException(java.lang.String trapName,
Tap trap,
java.lang.Throwable throwable,
TupleEntry tupleEntry) |
protected void |
handleException(java.lang.Throwable exception,
TupleEntry tupleEntry) |
protected void |
handleReThrowableException(java.lang.String message,
java.lang.Throwable throwable) |
public TrapHandler(FlowProcess flowProcess)
public TrapHandler(FlowProcess flowProcess, Tap trap, java.lang.String trapName)
protected void handleReThrowableException(java.lang.String message, java.lang.Throwable throwable)
protected void handleException(java.lang.Throwable exception, TupleEntry tupleEntry)
protected void handleException(java.lang.String trapName, Tap trap, java.lang.Throwable throwable, TupleEntry tupleEntry)