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.

Note that implementations must be thread-safe.
Since:
11.0
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Deprecated.
    Describes the context in which a failure occurred, in as much detail as available.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    Notifies the handler of a failure and determines whether to continue or abort the session.
  • Method Details

    • handleFailure

      boolean handleFailure(ILfnVectorSessionHandler.FailureContext aContext, Exception aError)
      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 use ALfnCoverageMetadata.isIgnoreNonFatalFailures() to enforce immediate abort.

      Parameters:
      aContext - the context where the failure occurred, never null
      aError - the error causing the failure
      Returns:
      true to ignore the failure and continue the session, false to abort the fusion session.