| Package | Description |
|---|---|
| org.apache.nifi.processor.util.pattern |
| Modifier and Type | Field and Description |
|---|---|
private BiFunction<C,ErrorTypes,ErrorTypes.Result> |
ExceptionHandler.adjustError
Adjust error type based on the context.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorTypes.Result |
ErrorTypes.result() |
| Modifier and Type | Method and Description |
|---|---|
static <FCT extends RollbackOnFailure> |
RollbackOnFailure.createAdjustError(ComponentLog logger)
Create a function to use with
ExceptionHandler that adjust error type based on functional context. |
| Modifier and Type | Method and Description |
|---|---|
void |
ExceptionHandler.OnError.apply(C context,
I input,
ErrorTypes.Result result,
Exception e) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExceptionHandler.adjustError(BiFunction<C,ErrorTypes,ErrorTypes.Result> adjustError)
Specify a function that adjust ErrorType based on a function context.
|
Copyright © 2019 Apache NiFi Project. All rights reserved.