Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PluginException (0.18 sec)

  1. src/main/java/org/codelibs/fess/exception/PluginException.java

    /**
     * Exception for plugin-related errors.
     */
    public class PluginException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a plugin exception with message and cause.
         *
         * @param message the error message
         * @param cause the cause
         */
        public PluginException(final String message, final Throwable cause) {
            super(message, cause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. 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());
        }
    
        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            PluginException exception = new PluginException(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (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"));
            }
        }
    
        public void test_getInstalledArtifacts_unknown() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. 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);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top