Package org.graylog.scheduler
Class JobExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.graylog.scheduler.JobExecutionException
- All Implemented Interfaces:
Serializable
This is thrown when a
Job
failed to execute correctly.- See Also:
-
Constructor Summary
ConstructorDescriptionJobExecutionException
(String message, JobTriggerDto trigger, JobTriggerUpdate update) JobExecutionException
(String message, JobTriggerDto trigger, JobTriggerUpdate update, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns the trigger that triggered the job execution.Returns the trigger update that should be stored in the database.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JobExecutionException
-
JobExecutionException
public JobExecutionException(String message, JobTriggerDto trigger, JobTriggerUpdate update, Throwable cause)
-
-
Method Details
-
getTrigger
Returns the trigger that triggered the job execution.- Returns:
- the related trigger
-
getUpdate
Returns the trigger update that should be stored in the database.- Returns:
- the trigger update or null if not set
-