Interface ExceptionHandlerRegistration.BuilderDecorator<C,T extends Throwable>
- Enclosing class:
ExceptionHandlerRegistration<C,T extends Throwable>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@API(status=STABLE)
public static interface ExceptionHandlerRegistration.BuilderDecorator<C,T extends Throwable>
-
Method Summary
Modifier and TypeMethodDescriptionDecorates the givenbuilderand returns the updated builder.
-
Method Details
-
decorate
@NonNull ExceptionHandlerRegistration.ExceptionControllerBuilder<C,T> decorate(@NonNull ExceptionHandlerRegistration.ExceptionControllerBuilder<C, T> builder) Decorates the givenbuilderand returns the updated builder.- Parameters:
builder- the builder- Returns:
- the updated builder
-