Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                if (jobProcess == null) {
                    throw new JobNotFoundException("Job for " + sessionId + " is not found.");
                }
                process = jobProcess.getProcess();
                if (process == null || !process.isAlive()) {
                    throw new JobNotFoundException("Process for " + sessionId + " is not running.");
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            scheduledJob.setId("nonexistent-job");
    
            try {
                scheduledJob.start(Map.of(Constants.JOB_LOG_ID, "some-id"));
                fail("Expected JobNotFoundException");
            } catch (final JobNotFoundException e) {
                // expected
            }
        }
    
        @Test
        public void test_startNoArg_callsLaunchNowWithoutParams() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

        }
    
        @Test
        public void test_sendCommand_jobNotFound() {
            try {
                processHelper.sendCommand("nonexistent", "test command");
                fail("Expected JobNotFoundException");
            } catch (JobNotFoundException e) {
                assertTrue(e.getMessage().contains("Job for nonexistent is not found"));
            }
        }
    
        @Test
        public void test_startProcess_basicCommand() {
    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