Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ThemeException (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     */
    public class ThemeException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new ThemeException with the specified message and cause.
         *
         * @param message the exception message
         * @param cause the underlying cause of this exception
         */
        public ThemeException(final String message, final Throwable cause) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

         * @return the theme name
         * @throws ThemeException if theme name cannot be determined
         */
        protected String getThemeName(final Artifact artifact) {
            final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1);
            if (StringUtil.isBlank(themeName)) {
                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

                try {
                    throw new ThemeException(originalMessage);
                } catch (ThemeException e) {
                    throw new ThemeException(wrapperMessage, e);
                }
            } catch (ThemeException e) {
                assertEquals(wrapperMessage, e.getMessage());
                assertNotNull(e.getCause());
                assertTrue(e.getCause() instanceof ThemeException);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                themeHelper.getJarFile(artifact);
                fail("Should throw ThemeException");
            } catch (Exception e) {
                // Should throw ThemeException or other exception related to file not found
                assertTrue(e.getMessage().contains("does not exist") || e instanceof ThemeException);
            }
        }
    
        @Test
        public void test_closeQuietly_nonExistentDirectory() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
Back to Top