Interface ThrowingFunction<T,R>

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 ThrowingFunction<T,R>
This exists so that we are able to better manage exceptions in a highly threaded system.
exceptions stop bubbling up at the thread invocation. If we don't take care to deal with that in some way, we can easily just lose the information. Something could be badly broken and we could be totally oblivious to it. This interface is to alleviate that situation.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T t)