public interface ILfnVectorSessionHandler
Handler for non-fatal errors that occur during a vector fusion session.
The handler receives calls with the error that occurred (any kind of exception) and the context in which it occurred (feature id, asset, etc.).
The handler can choose to continue the session or abort.
ALfnCoverageMetadata.isIgnoreNonFatalFailures() to specify such behavior.
|Modifier and Type||Interface and Description|
Describes the context in which a failure occurred, in as much detail as available.
|Modifier and Type||Method and Description|
Notifies the handler of a failure and determines whether to continue or abort the session.
boolean handleFailure(ILfnVectorSessionHandler.FailureContext aContext, Exception aError)
Note that the fusion process may continue for a while, even if you return
It is better to use
ALfnCoverageMetadata.isIgnoreNonFatalFailures() to enforce
aContext- the context where the failure occurred, never
aError- the error causing the failure
trueto ignore the failure and continue the session,
falseto abort the fusion session.