Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for JobNotFoundException (0.15 sec)

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

     */
    public class JobNotFoundException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new JobNotFoundException with a message derived from the scheduled job.
         *
         * @param scheduledJob the scheduled job that was not found
         */
        public JobNotFoundException(final ScheduledJob scheduledJob) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            JobNotFoundException exception = new JobNotFoundException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithString_null() {
            // Test with null message
            JobNotFoundException exception = new JobNotFoundException((String) null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java

                job.launchNow();
            }).orElse(() -> {
                throw new JobNotFoundException(this);
            });
        }
    
        public void stop() {
            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                job.stopNow();
            }).orElse(() -> {
                throw new JobNotFoundException(this);
            });
        }
    
        public String getId() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            assertTrue(true);
        }
    
        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"));
            }
        }
    
        public void test_startProcess_basicCommand() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.JobNotFoundException;
    import org.codelibs.fess.exception.JobProcessingException;
    import org.codelibs.fess.util.InputStreamThread;
    import org.codelibs.fess.util.JobProcess;
    
    import jakarta.annotation.PreDestroy;
    
    /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top