public interface DownloadErrorPolicy extends Policy
Modifier and Type | Method and Description |
---|---|
boolean |
applyPolicy(String policySetting,
Properties request,
File localFile,
Exception exception,
Map<String,Exception> previousExceptions)
Apply the download error policy.
|
getDefaultOption, getId, getName, getOptions
boolean applyPolicy(String policySetting, Properties request, File localFile, Exception exception, Map<String,Exception> previousExceptions) throws PolicyConfigurationException
policySetting
- the policy setting.request
- the list of request properties that the policy might use.localFile
- exception
- the exception that triggered the errorpreviousExceptions
- any previously triggered exceptionsPolicyConfigurationException
- if the policy is improperly configuredCopyright © 2006–2023 The Apache Software Foundation. All rights reserved.