- All Implemented Interfaces:
- java.io.Serializable
public abstract class DelayedTerminationCheckException
extends java.lang.Exception
The purpose of this exception is to indicate that the checkTermination method
of AAlgorithm was invoked too late. Too late means that the algorithm has
been interrupted, timeouted or canceled at least 100ms prior to the
invocation of the check.
The motivation is that it is difficult to track time leaks, i.e. which code
is responsible that the control is not returned in time after an interruption
or timeout. This exception is thrown by checkTermination in order to enforce
developers to handle this particular case and to ease debugging.
- See Also:
- Serialized Form