- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 350 for Exceptions (0.06 sec)
-
CrawlerStatsHelper.java
L79: } L80: }); L81: L82: } L83: L84: public void begin(final Object keyObj) { L85: getCacheKey(keyObj).ifPresent(key -> { L86: try { L87: statsCache.get(key); L88: } catch (final Exception e) { L89: final StringBuilder buf = createStringBuffer(keyObj, getCurrentTimeMillis()); L90: buf.append('\t').append("action:begin"); L91: buf.append('\t').append("error:").append(escapeValue(e.getLoc...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 9.9K bytes -
GoAction.java
L74: try { L75: doc = searchHelper.getDocumentByDocId(form.docId, L76: new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldConfigId() }, getUserBean()).orElse(null); L77: } catch (final Exception e) { L78: logger.warn("Failed to request: {}", form.docId, e); L79: } L80: if (doc == null) { L81: saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId)); L82: return redirect(ErrorAction.class);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.9K bytes -
AdminDataconfigAction.java
getDataConfig(form).ifPresent(entity -> { L234: try { L235: dataConfigService.store(entity); L236: saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); L237: } catch (final Exception e) { L238: logger.warn("Failed to process a request.", e); L239: throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)), L240: this::asEditHtml);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 17.5K bytes -
FessXpathTransformer.java
org.codelibs.fess.crawler.entity.ResponseData; L55:import org.codelibs.fess.crawler.entity.ResultData; L56:import org.codelibs.fess.crawler.entity.UrlQueue; L57:import org.codelibs.fess.crawler.exception.ChildUrlsException; L58:import org.codelibs.fess.crawler.exception.CrawlerSystemException; L59:import org.codelibs.fess.crawler.exception.CrawlingAccessException; L60:import org.codelibs.fess.crawler.transformer.impl.XpathTransformer; L61:import org.codelibs.fess.crawler.util.CrawlingParameterUtil; L62:import org...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes -
PathMappingHelper.java
L29:import org.codelibs.fess.es.config.exbhv.PathMappingBhv; L30:import org.codelibs.fess.es.config.exentity.PathMapping; L31:import org.codelibs.fess.util.ComponentUtil; L32:import org.codelibs.fess.util.DocumentUtil; L33:import org.lastaflute.di.core.exception.ComponentNotFoundException; L34:import org.lastaflute.di.core.factory.SingletonLaContainerFactory; L35:import org.lastaflute.web.util.LaRequestUtil; L36: L37:import jakarta.annotation.PostConstruct; L38: L39:public class PathMappingHelper extends...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.6K bytes -
AdminBackupAction.java
java.util.function.Consumer; L44:import java.util.stream.Collectors; L45: L46:import org.apache.commons.text.StringEscapeUtils; L47:import org.apache.logging.log4j.LogManager; L48:import org.apache.logging.log4j.Logger; L49:import org.codelibs.core.exception.IORuntimeException; L50:import org.codelibs.core.io.CopyUtil; L51:import org.codelibs.core.lang.StringUtil; L52:import org.codelibs.core.misc.Pair; L53:import org.codelibs.curl.CurlResponse; L54:import org.codelibs.fess.Constants; L55:import org...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
SuggestCreator.java
outManager; L29:import org.codelibs.core.timer.TimeoutTask; L30:import org.codelibs.fess.Constants; L31:import org.codelibs.fess.crawler.client.FesenClient; L32:import org.codelibs.fess.es.client.SearchEngineClient; L33:import org.codelibs.fess.exception.ContainerNotAvailableException; L34:import org.codelibs.fess.helper.SuggestHelper; L35:import org.codelibs.fess.timer.SystemMonitorTarget; L36:import org.codelibs.fess.util.ComponentUtil; L37:import org.codelibs.fess.util.SystemUtil; L38:import ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 10K bytes -
FessFunctions.java
L85: public Long load(final String key) throws Exception { L86: try { L87: final Path path = Paths.get(LaServletContextUtil.getServletContext().getRealPath(key)); L88: if (Files.isRegularFile(path)) { L89: return Files.getLastModifiedTime(path).toMillis(); L90: } L91: } catch (final Exception e) { L92: logger.debug("Failed to access...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 16.9K bytes -
ApiAdminBadwordAction.java
api.ApiResult.ApiUpdateResponse; L41:import org.codelibs.fess.app.web.api.ApiResult.Status; L42:import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; L43:import org.codelibs.fess.es.config.exentity.BadWord; L44:import org.codelibs.fess.exception.FessSystemException; L45:import org.codelibs.fess.helper.SuggestHelper; L46:import org.codelibs.fess.util.ComponentUtil; L47:import org.lastaflute.web.Execute; L48:import org.lastaflute.web.response.JsonResponse; L49:import org.lastaflute.web.re...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 8.4K bytes -
FessXpathTransformerTest.java
eData, new ResultData()); L325: fail(); L326: } catch (ChildUrlsException e) { L327: assertTrue(e.getChildUrlList().isEmpty()); L328: } catch (Exception e) { L329: fail(); L330: } L331: } L332: L333: public void test_processXRobotsTag_noindex() throws Exception { L334: final String data = "<meta name=\"robots\" content=\"noindex\" /><a href=\"index.html\">aaa</a>"; L335: L336: final FessXpathTransformer transformer = new F...github.com/codelibs/fess/src/test/java/org/code...Thu Oct 24 13:01:38 UTC 2024 41.3K bytes