All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.whimtrip.ext.jwhtscrapper.exception.NoProxyFinderProvidedException Maven / Gradle / Ivy

The newest version!
package fr.whimtrip.ext.jwhtscrapper.exception;

import fr.whimtrip.ext.jwhtscrapper.annotation.ProxyConfig;
import fr.whimtrip.ext.jwhtscrapper.intfr.ProxyFinder;
import fr.whimtrip.ext.jwhtscrapper.service.AutomaticScrapperManagerBuilder;

/**
 * 

Part of project jwht-scrapper

*

Created on 08/08/18

* *

* Thrown when no {@link ProxyFinder} was provided when constructing the * scrapper {@link AutomaticScrapperManagerBuilder#setProxyFinder(ProxyFinder)} * while {@link ProxyConfig#useProxy()} returns {@code true}. *

* @author Louis-wht * @since 1.0.0 */ public class NoProxyFinderProvidedException extends ScrapperException { public NoProxyFinderProvidedException() { super( String.format( "No %s instance was submitted through %s method " + "\"setProxyFinder\" while @%s \"useProxy\" is enabled.", ProxyFinder.class, AutomaticScrapperManagerBuilder.class, ProxyConfig.class.getName() ) ); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy