Uses of Enum Class
org.apache.nifi.processor.util.pattern.ErrorTypes
-
Uses of ErrorTypes in org.apache.nifi.processor.util.pattern
Fields in org.apache.nifi.processor.util.pattern with type parameters of type ErrorTypesModifier and TypeFieldDescriptionprivate BiFunction<C, ErrorTypes, ErrorTypes.Result> ExceptionHandler.adjustErrorAdjust error type based on the context.private Function<Exception, ErrorTypes> ExceptionHandler.mapExceptionSimply categorise an Exception.Methods in org.apache.nifi.processor.util.pattern that return ErrorTypesModifier and TypeMethodDescriptionstatic ErrorTypesReturns the enum constant of this class with the specified name.static ErrorTypes[]ErrorTypes.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.nifi.processor.util.pattern that return types with arguments of type ErrorTypesModifier and TypeMethodDescriptionstatic <FCT extends RollbackOnFailure>
BiFunction<FCT, ErrorTypes, ErrorTypes.Result> RollbackOnFailure.createAdjustError(org.apache.nifi.logging.ComponentLog logger) Create a function to use withExceptionHandlerthat adjust error type based on functional context.Method parameters in org.apache.nifi.processor.util.pattern with type arguments of type ErrorTypesModifier and TypeMethodDescriptionvoidExceptionHandler.adjustError(BiFunction<C, ErrorTypes, ErrorTypes.Result> adjustError) Specify a function that adjust ErrorType based on a function context.voidExceptionHandler.mapException(Function<Exception, ErrorTypes> mapException) Specify a function that maps an Exception to certain ErrorType.