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 Link icon

    • JobExecutionException Link icon

      public JobExecutionException(IJobId id)
    • JobExecutionException Link icon

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

      public JobExecutionException(IJobId id, String message)
    • JobExecutionException Link icon

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

    • isRefireJobImmediately Link icon

      public boolean isRefireJobImmediately()
    • setRefireJobImmediately Link icon

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

      public boolean isUnscheduleJob()
    • setUnscheduleJob Link icon

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