Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Issue #4: Make Exception type in FallibleFunction parametric
Browse files Browse the repository at this point in the history
  • Loading branch information
magnet committed Aug 30, 2017
1 parent a8c4a29 commit d509f5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.primeval.common.function;

@FunctionalInterface
public interface FallibleFunction<T, R> {
public interface FallibleFunction<T, R, E extends Throwable> {

R apply(T t) throws Exception;
R apply(T t) throws E;
}

0 comments on commit d509f5c

Please sign in to comment.