Uses of Class
org.springframework.kafka.support.ExceptionMatcher.Builder
Packages that use ExceptionMatcher.Builder
-
Uses of ExceptionMatcher.Builder in org.springframework.kafka.support
Methods in org.springframework.kafka.support that return ExceptionMatcher.BuilderModifier and TypeMethodDescriptionAdd an exception type.ExceptionMatcher.Builder.addAll
(Collection<Class<? extends Throwable>> exceptionTypes) Add all exception types from the given collection.static ExceptionMatcher.Builder
ExceptionMatcher.forAllowList()
Create a builder for a matcher that only matches an exception that is found in the configurable list of exception types.static ExceptionMatcher.Builder
ExceptionMatcher.forDenyList()
Create a builder for a matcher that only matches an exception that is not found in the configurable list of exception types.ExceptionMatcher.Builder.traverseCauses
(boolean traverseCauses) Specify if the matcher should traverse nested causes to check for the presence of a matching exception.