public class AggregateRepositoryInterceptorExceptionHandlerBuilder<T extends io.eventuate.CommandProcessingAggregate<T,CT>,CT extends io.eventuate.Command>
extends java.lang.Object
Constructor and Description |
---|
AggregateRepositoryInterceptorExceptionHandlerBuilder(java.lang.Class<java.lang.Throwable> exceptionClass,
java.util.function.BiFunction<T,java.lang.Throwable,java.util.Optional<io.eventuate.UpdateEventsAndOptions>> exceptionHandler) |
Modifier and Type | Method and Description |
---|---|
io.eventuate.AggregateRepositoryInterceptor<T,CT> |
build() |
public AggregateRepositoryInterceptorExceptionHandlerBuilder(java.lang.Class<java.lang.Throwable> exceptionClass, java.util.function.BiFunction<T,java.lang.Throwable,java.util.Optional<io.eventuate.UpdateEventsAndOptions>> exceptionHandler)