Class JobInterruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.kingsrook.qqq.backend.core.exceptions.QException
com.kingsrook.qqq.backend.core.jobs.plans.JobInterruptedException
- All Implemented Interfaces:
Serializable
Thrown from a cooperative check to stop a chunk at a safe point: the job was
paused or cancelled, this pod is draining, or the lease was lost.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhy the chunk stopped. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JobInterruptedExceptionFind a JobInterruptedException in a cause chain, or null.Getter for reasonMethods inherited from class com.kingsrook.qqq.backend.core.exceptions.QException
getHasLoggedError, getHasLoggedWarning, hasLoggedLevel, setHasLoggedError, setHasLoggedLevel, setHasLoggedWarning, withHasLoggedError, withHasLoggedWarningMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JobInterruptedException
Constructor
-
-
Method Details
-
getReason
Getter for reason -
find
Find a JobInterruptedException in a cause chain, or null.
-