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.
See also ALfnCoverageMetadata.isIgnoreNonFatalFailures()
to specify such behavior.
ILfnVectorSessionHandler.FailureContext
Modifier and Type | Interface and Description |
---|---|
static class |
ILfnVectorSessionHandler.FailureContext
Deprecated.
Describes the context in which a failure occurred, in as much detail as available.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handleFailure(ILfnVectorSessionHandler.FailureContext aContext,
Exception aError)
Deprecated.
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 false
.
It is better to use ALfnCoverageMetadata.isIgnoreNonFatalFailures()
to enforce
immediate abort.
aContext
- the context where the failure occurred, never null
aError
- the error causing the failuretrue
to ignore the failure and continue the session,
false
to abort the fusion session.