Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ScriptEngineException (0.88 sec)

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

    /**
     * This exception is thrown when a script engine error occurs.
     */
    public class ScriptEngineException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
         * @param message The exception message.
         */
        public ScriptEngineException(final String message) {
            super(message);
        }
    
        /**
         * Constructor.
    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/ScriptEngineExceptionTest.java

            // Test constructor with null message
            ScriptEngineException exception = new ScriptEngineException(null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
            ScriptEngineException exception = new ScriptEngineException(null, null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

            if (name == null) {
                throw new ScriptEngineException("script name is null.");
            }
            final ScriptEngine scriptEngine = scriptEngineMap.get(name.toLowerCase(Locale.ROOT));
            if (scriptEngine != null) {
                return scriptEngine;
            }
            throw new ScriptEngineException(name + " is not found.");
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top