public class ThrowExceptionOnFailingCountryData extends Object implements IOnFailingCountryLotlData
IOnFailingCountryLotlData interface and provides a strategy
for handling failures when fetching country-specific trusted list .
It throws an InvalidLotlDataException if the specific country fetch or the trusted lists validation fails.
| Constructor and Description |
|---|
ThrowExceptionOnFailingCountryData()
Creates an instance of
ThrowExceptionOnFailingCountryData. |
| Modifier and Type | Method and Description |
|---|---|
void |
onCountryFailure(CountrySpecificLotlFetcher.Result fetchResult)
This method is called when the fetching of a country-specific Lotl fails.
|
public ThrowExceptionOnFailingCountryData()
ThrowExceptionOnFailingCountryData.public void onCountryFailure(CountrySpecificLotlFetcher.Result fetchResult)
If the implementation does not throw an exception, the validation process will continue, and the certificates
from the CountrySpecificLotlFetcher.Result will not be added to the trust store.
onCountryFailure in interface IOnFailingCountryLotlDatafetchResult - the result of the fetch attempt, which may contain error detailsCopyright © 1998–2025 Apryse Group NV. All rights reserved.