Package cn.sliew.milky.common.exception
Interface ThrowableCollector.ExecutableWithResult<T>
-
- Type Parameters:
T- result type
- Enclosing class:
- ThrowableCollector<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ThrowableCollector.ExecutableWithResult<T>
Functional interface for an executable block of code that may throw aThrowable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Texecute()Execute this executable, potentially throwing aThrowablethat signals abortion or failure.
-