| Package | Description |
|---|---|
| org.apache.nifi.processor.util.pattern |
| Modifier and Type | Field and Description |
|---|---|
private ExceptionHandler.OnError<C,?> |
ExceptionHandler.onError
Do some action to the input based on the final error type.
|
| Modifier and Type | Method and Description |
|---|---|
default ExceptionHandler.OnError<C,I> |
ExceptionHandler.OnError.andThen(ExceptionHandler.OnError<C,I> after) |
static <FCT extends RollbackOnFailure,I> |
RollbackOnFailure.createOnError(ExceptionHandler.OnError<FCT,I> onError) |
<I> boolean |
ExceptionHandler.execute(C context,
I input,
ExceptionHandler.Procedure<I> procedure,
ExceptionHandler.OnError<C,I> onError)
Executes specified procedure function with the input.
|
void |
ExceptionHandler.onError(ExceptionHandler.OnError<C,?> onError)
Specify a default OnError function that will be called if one is not explicitly specified when
ExceptionHandler.execute(Object, Object, Procedure) is called. |
Copyright © 2019 Apache NiFi Project. All rights reserved.