Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for JobProcessingException (0.14 seconds)

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

     * the execution or processing of jobs in the system.
     */
    public class JobProcessingException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new JobProcessingException with the specified cause.
         *
         * @param e the cause of the exception
         */
        public JobProcessingException(final Throwable e) {
            super(e);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            final JobProcessingException exception = new JobProcessingException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullCause() {
            // Test constructor with null cause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Python Process terminated.", e);
            } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

                fail("Should throw JobProcessingException");
            } catch (JobProcessingException e) {
                assertTrue(e.getMessage().contains("Failed to execute a crawl job"));
                assertNotNull(e.getCause());
                assertEquals("Test exception", e.getCause().getMessage());
            }
        }
    
        // Test execute with JobProcessingException in executeCrawler
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/SuggestJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("SuggestCreator Process terminated.", e);
            } finally {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("ThumbnailGenerator Process terminated.", e);
            } finally {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        @Test
        public void test_executePython_blankFilename() {
            pythonJob.filename("");
    
            try {
                pythonJob.executePython();
                fail("Should throw JobProcessingException");
            } catch (JobProcessingException e) {
                assertEquals("Python script is not specified.", e.getMessage());
            }
        }
    
        // Test executePython with null filename
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                final Object result = script.run();
                logScriptExecution(template, "success");
                return result;
            } catch (final JobProcessingException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Script raised JobProcessingException", e);
                }
                logScriptExecution(template, "failure:" + e.getClass().getSimpleName());
                throw e;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/CrawlJob.java

                    throw new JobProcessingException(out.toString());
                }
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Crawler Process terminated.", e);
            } finally {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                pb.redirectErrorStream(true);
            };
    
            try {
                processHelper.startProcess(sessionId, cmdList, pbCall);
                fail("Expected JobProcessingException");
            } catch (JobProcessingException e) {
                assertTrue(e.getMessage().contains("Crawler Process terminated"));
            }
        }
    
        @Test
        public void test_startProcess_replaceExistingProcess() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top