Package org.jobrunr
Class JobRunrException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jobrunr.JobRunrException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FieldNotFoundException
,SevereJobRunrException
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJobRunrException
(String message) JobRunrException
(String message, boolean doNotRetry) JobRunrException
(String message, boolean doNotRetry, Throwable cause) JobRunrException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic JobRunrException
configurationException
(String message) static JobRunrException
configurationException
(String message, Throwable cause) static JobRunrException
invalidLambdaException
(Exception exception) boolean
static JobRunrException
problematicConfigurationException
(String message) static JobRunrException
problematicException
(String message, Throwable cause) static JobRunrException
shouldNotHappenException
(String message) static JobRunrException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
SHOULD_NOT_HAPPEN_MESSAGE
- See Also:
-
INVALID_LAMBDA_MESSAGE
- See Also:
-
-
Constructor Details
-
JobRunrException
-
JobRunrException
-
JobRunrException
-
JobRunrException
-
-
Method Details
-
isProblematicAndDoNotRetry
public boolean isProblematicAndDoNotRetry() -
shouldNotHappenException
-
invalidLambdaException
-
shouldNotHappenException
-
configurationException
-
problematicConfigurationException
-
problematicException
-
configurationException
-