Interface ToIntFunctionWithException<T,E extends Exception>