Package org.cruxframework.crux.core.server.crawling

Examples of org.cruxframework.crux.core.server.crawling.CrawlingException


   */
  public CrawlingTool(File outputDir, int javascriptTime, String applicationBaseURL)
    {
    if (outputDir == null || !outputDir.exists() || !outputDir.isDirectory())
    {
      throw new CrawlingException("Invalid output directory");
    }
    this.outputDir = outputDir;
    this.applicationBaseURL = applicationBaseURL;
    this.javascriptTime = javascriptTime;
    webClient = new WebClient(BrowserVersion.FIREFOX_17);
View Full Code Here


        webClient.closeAllWindows();
      }
        }
        catch (Exception e)
        {
          throw new CrawlingException("Error generating snapshot for page ["+page+"], with escapedFragment ["+escapedFragment+"].", e);
        }
  }
View Full Code Here

TOP

Related Classes of org.cruxframework.crux.core.server.crawling.CrawlingException

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.