Package nz.org.riskscape.problem
Interface ProblemException.Call<T>
- Type Parameters:
T
- return type of the method call
- Enclosing class:
- ProblemException
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function call that will either return an object or throw a ProblemException
. Use with
ProblemException.catching(Call)
to adapt to a non-throwing method signature.
-
Method Summary
-
Method Details
-
call
- Throws:
ProblemException
-