com.twitter.common.base
Class CallableExceptionalSupplier<T,E extends Exception>

java.lang.Object
  extended by com.twitter.common.base.CallableExceptionalSupplier<T,E>
Type Parameters:
T - The supplier type.
E - Supplier exception type.
All Implemented Interfaces:
ExceptionalSupplier<T,E>, Callable<T>

public abstract class CallableExceptionalSupplier<T,E extends Exception>
extends Object
implements ExceptionalSupplier<T,E>, Callable<T>

A supplier that may also be called.


Constructor Summary
CallableExceptionalSupplier()
           
 
Method Summary
 T call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.twitter.common.base.ExceptionalSupplier
get
 

Constructor Detail

CallableExceptionalSupplier

public CallableExceptionalSupplier()
Method Detail

call

public T call()
       throws Exception
Specified by:
call in interface Callable<T>
Throws:
Exception