T - the generic type of the return valueE - the generic type of the expected exception@FunctionalInterface public interface ExceptionHandler<T,E extends Exception>
FunctionalInterface which handles a random Exception by either returning a value of type T or by
throwing an exception of type E| Modifier and Type | Method and Description |
|---|---|
T |
handle(Exception exception)
Handles the given
exception by either returning a new value of type T or throwing an Exception of
type E |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.