Examples of AnchorWindowTooSmallException


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
Copyright © 2018 www.massapi.com. 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.