Revision: 3014 http://archive-access.svn.sourceforge.net/archive-access/?rev=3014&view=rev Author: bradtofel Date: 2010-04-02 03:12:04 +0000 (Fri, 02 Apr 2010) Log Message: ----------- Splelling fix Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/resourceindex/filterfactory/ExclusionCaptureFilterGroup.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/resourceindex/filterfactory/ExclusionCaptureFilterGroup.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/resourceindex/filterfactory/ExclusionCaptureFilterGroup.java 2010-04-02 03:10:33 UTC (rev 3013) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/resourceindex/filterfactory/ExclusionCaptureFilterGroup.java 2010-04-02 03:12:04 UTC (rev 3014) @@ -30,7 +30,7 @@ import org.archive.wayback.core.SearchResults; import org.archive.wayback.core.WaybackRequest; import org.archive.wayback.exception.AccessControlException; -import org.archive.wayback.exception.AdminstrativeAccessControlException; +import org.archive.wayback.exception.AdministrativeAccessControlException; import org.archive.wayback.exception.ResourceNotInArchiveException; import org.archive.wayback.exception.RobotAccessControlException; import org.archive.wayback.resourceindex.filters.CounterFilter; @@ -78,20 +78,9 @@ " is blocked by the sites robots.txt file"); } if(sawAdministrative && !passedAdministrative) { - throw new AdminstrativeAccessControlException(requestUrl + + throw new AdministrativeAccessControlException(requestUrl + " is not available in the Wayback Machine."); } - -// if(postCounter.getNumMatched() == 0) { -// -// // nothing got to the counter after exclusions. If we have -// // exclusions (detected by preCounter being non-null, and the -// // preCounter passed any results, then they were all filtered by -// // the exclusions filter. -// if(preCounter != null && preCounter.getNumMatched() > 0) { -// throw new AccessControlException("All results Excluded"); -// } -// } } public void setPassedRobots() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |