Class JobExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.process.scheduler.JobExecutionException
All Implemented Interfaces:
Serializable

public class JobExecutionException extends RuntimeException
An exception thrown from job implementations. It may be used to refire the job or to unschedule it. By default the job is not refired and not unscheduled
Since:
11.0
Author:
Mihai Bob
See Also:
  • Constructor Details

    • JobExecutionException

      public JobExecutionException(IJobId id)
    • JobExecutionException

      public JobExecutionException(IJobId id, String message, Throwable cause)
    • JobExecutionException

      public JobExecutionException(IJobId id, String message)
    • JobExecutionException

      public JobExecutionException(IJobId id, Throwable cause)
  • Method Details

    • isRefireJobImmediately

      public boolean isRefireJobImmediately()
    • setRefireJobImmediately

      public void setRefireJobImmediately(boolean refireJobImmediately)
      Sets whether the job should refire as soon as possible
      Parameters:
      refireJobImmediately - true to refire
    • isUnscheduleJob

      public boolean isUnscheduleJob()
    • setUnscheduleJob

      public void setUnscheduleJob(boolean unscheduleJob)
      Sets whether the job should be unscheduled
      Parameters:
      unscheduleJob - true to unschedule