Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for DictionaryException (0.11 sec)

  1. 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)
  2. 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)
Back to top