Package ru.ilb.jfunction.exception
Interface RuntimeExceptionFunction<T extends Exception,R extends RuntimeException>
-
- Type Parameters:
T-R-
- All Known Implementing Classes:
RuntimeExceptionFunctionImpl
- 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 interface RuntimeExceptionFunction<T extends Exception,R extends RuntimeException>
Convert checked exception to runtime exception- Author:
- slavb
-
-
Field Summary
Fields Modifier and Type Field Description static RuntimeExceptionFunctionINSTANCE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(T ex)
-
-
-
Field Detail
-
INSTANCE
static final RuntimeExceptionFunction INSTANCE
-
-