- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for DictionaryException (0.32 sec)
-
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.curl.CurlResponse; import org.codelibs.fess.Constants; import org.codelibs.fess.dict.DictionaryException; import org.codelibs.fess.dict.DictionaryFile; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.optional.OptionalEntity; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
assertEquals("testWord", result.getInput()); } catch (Exception e) { // If any exception occurs, it should be a DictionaryException assertTrue("Exception should be DictionaryException", e instanceof DictionaryException); assertTrue("Message should mention userDict file", e.getMessage().contains("userDict") || e.getMessage().contains("Failed to write"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
* @throws DictionaryException if the dictionary file cannot be read. */ protected void reload(final SynonymUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
* @throws DictionaryException if the dictionary file cannot be read. */ protected void reload(final StopwordsUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
* @throws DictionaryException if the dictionary file cannot be read. */ protected void reload(final StemmerOverrideUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
import java.util.List; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.curl.CurlResponse; import org.codelibs.fess.Constants; import org.codelibs.fess.dict.DictionaryException; import org.codelibs.fess.dict.DictionaryFile; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.KuromojiCSVUtil; import org.dbflute.optional.OptionalEntity; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
import java.util.List; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.curl.CurlResponse; import org.codelibs.fess.Constants; import org.codelibs.fess.dict.DictionaryException; import org.codelibs.fess.dict.DictionaryFile; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.optional.OptionalEntity; /** * Dictionary file for protected words.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
throw new IOException("Test exception"); } }; try { stopwordsFile.reload(null, failingStream); fail("Should throw DictionaryException"); } catch (DictionaryException e) { assertTrue(e.getMessage().contains("Failed to parse")); } } // Test update with InputStream
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
charMappingFile.update(updateItem1); // Second update should fail due to mismatch try { charMappingFile.update(updateItem2); fail("Should throw DictionaryException"); } catch (DictionaryException e) { assertTrue(e.getMessage().contains("Mapping file was updated")); } } // Test reload with IOException
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0)