Modifier and Type | Method and Description |
---|---|
static ErrorHandler<RuntimeException> |
handle(BiConsumer<Throwable,Optional<Payload>> handler) |
static ErrorHandler<RuntimeException> |
ignore() |
static void |
ignore(Throwable e,
Optional<Payload> payload) |
public static ErrorHandler<RuntimeException> ignore()
public static ErrorHandler<RuntimeException> handle(BiConsumer<Throwable,Optional<Payload>> handler)
Copyright © 2017. All rights reserved.