public class TLfnFailFastVectorSessionHandler extends Object implementsILfnVectorSessionHandler
ILfnVectorSessionHandler.FailureContext
Constructor and Description |
---|
TLfnFailFastVectorSessionHandler()
Deprecated.
|
TLfnFailFastVectorSessionHandler(ILcdLogger aLogger)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handleFailure(ILfnVectorSessionHandler.FailureContext aContext,
Exception aFailure)
Deprecated.
Notifies the handler of a failure and determines whether to continue or abort the session.
|
public TLfnFailFastVectorSessionHandler()
public TLfnFailFastVectorSessionHandler(ILcdLogger aLogger)
public boolean handleFailure(ILfnVectorSessionHandler.FailureContext aContext, Exception aFailure)
ILfnVectorSessionHandler
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.
handleFailure
in interface ILfnVectorSessionHandler
aContext
- the context where the failure occurred, never null
aFailure
- the error causing the failuretrue
to ignore the failure and continue the session,
false
to abort the fusion session.