* Interface describing a worker that calculates alignment annotation(s). The
* main (re-)calculation should be performed by the inherited run() method.
*/
-public interface AlignCalcWorkerI extends Callable<Void>
+public interface AlignCalcWorkerI
{
/**
* Answers true if this worker updates the given annotation (regardless of its
*/
void removeAnnotation();
-
- /**
- * Default implementation of call which calls run and propagates the
- * exception.
- */
- @Override
- public default Void call() throws Exception
- {
- run();
- return null;
- }
-
/**
* The main calculation happens here
+ * @throws Throwable
*/
- public void run() throws Exception;
+ public void run() throws Throwable;
/**
* Answers true if the worker should be deleted entirely when its annotation