Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for PluginException (0.08 seconds)

  1. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            PluginException exception = new PluginException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            PluginException exception = new PluginException(null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. 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)
  3. 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