Package com.luciad.fusion.engine.vector
Interface ILfnVectorSessionHandler
- All Known Implementing Classes:
TLfnFailFastVectorSessionHandler
public interface ILfnVectorSessionHandler
Deprecated.
Since 2017.0 support for coverages of type VECTOR has been superseded with other mechanisms. Please refer to the Fusion migration guide for more information.
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.
- Since:
- 11.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.Describes the context in which a failure occurred, in as much detail as available. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleFailure(ILfnVectorSessionHandler.FailureContext aContext, Exception aError) Deprecated.Notifies the handler of a failure and determines whether to continue or abort the session.
-
Method Details
-
handleFailure
Deprecated.Notifies the handler of a failure and determines whether to continue or abort the session. When continuing the session, the tile will be retried and the offending feature or asset will be ignored.Note that the fusion process may continue for a while, even if you return
false. It is better to useALfnCoverageMetadata.isIgnoreNonFatalFailures()to enforce immediate abort.- Parameters:
aContext- the context where the failure occurred, nevernullaError- the error causing the failure- Returns:
trueto ignore the failure and continue the session,falseto abort the fusion session.
-