status = adminFilter.filterObject(resultTester);
}
if (status != ExclusionFilter.FILTER_INCLUDE) {
if (throwOnFail) {
throw new RuntimeIOException(403, new AdministrativeAccessControlException(resultTester.getOriginalUrl() + " is not available in the Wayback Machine."));
} else {
lastKey = resultTester.getUrlKey();
return cachedValue;
}
}
// Robot Excludes
if ((robotsFilter != null) && !authToken.isIgnoreRobots()) {
status = robotsFilter.filterObject(resultTester);
}
if (status != ExclusionFilter.FILTER_INCLUDE) {
if (throwOnFail) {
throw new RuntimeIOException(403, new RobotAccessControlException(resultTester.getOriginalUrl() + " is blocked by the sites robots.txt file"));
} else {
lastKey = resultTester.getUrlKey();
return cachedValue;
}
}