Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for PluginException (0.06 seconds)

  1. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         * @return an array of available artifacts
         * @throws PluginException if failed to access the artifact repository
         */
        public Artifact[] getAvailableArtifacts(final ArtifactType artifactType) {
            try {
                return availableArtifacts.get(artifactType);
            } catch (final Exception e) {
                throw new PluginException("Failed to access " + artifactType, e);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                }
            };
    
            try {
                errorHelper.getAvailableArtifacts(ArtifactType.DATA_STORE);
                fail("Expected PluginException");
            } catch (PluginException e) {
                assertTrue(e.getMessage().contains("Failed to access"));
            }
        }
    
        @Test
        public void test_getInstalledArtifacts_unknown() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
Back to Top