Class FailingCallable<T>

  • Type Parameters:
    T - The type of value that would be returned if this class didn't always throw an exception.
    All Implemented Interfaces:
    Callable<T>

    public final class FailingCallable<T>
    extends Object
    implements Callable<T>
    A Callable that always throws an exception when run, for testing error-handling code.