001 002package io.vrap.rmf.base.client.utils; 003 004/** 005 * A function like {@link java.util.function.Function} but allows you to throw exception 006 * @param <T> the input type 007 * @param <R> the output type 008 */ 009@FunctionalInterface 010public interface ExceptionalFunction<T, R> { 011 R apply(final T t) throws Exception; 012}