Package org.archive.wayback.exception

Examples of org.archive.wayback.exception.AnchorWindowTooSmallException


        if(maxWindow > 0) {
          long closestDistance = Math.abs(wantTime -
              result.getCaptureDate().getTime());

          if(closestDistance > maxWindow) {
            throw new AnchorWindowTooSmallException("Closest is " +
                closestDistance + " seconds away, Window is " +
                maxWindow);
          }
        }
      }
View Full Code Here

TOP

Related Classes of org.archive.wayback.exception.AnchorWindowTooSmallException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.