jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap.concurrent
Interface ErrorHandler<S>

Type Parameters:
S - Type of sources processed

public interface ErrorHandler<S>

Callback to accept process errors.

Author:
Gabor Imre

Method Summary
 long error(int sourceIndex, S s, Throwable t)
          Process error report.
 

Method Detail

error

long error(int sourceIndex,
           S s,
           Throwable t)
Process error report.

Parameters:
sourceIndex - Index (0-based) of the source structure (input) provoked this error
s - Source caused the reported error
t - The error thrown
Returns:
Work units to be reported

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)