Package org.jobrunr.utils.exceptions
Class Exceptions
java.lang.Object
org.jobrunr.utils.exceptions.Exceptions
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getStackTraceAsString
(Throwable exception) static boolean
static void
retryOnException
(Runnable runnable, int maxRetries) static <T> T
retryOnException
(Supplier<T> supplier, int maxRetries)
-
Constructor Details
-
Exceptions
public Exceptions()
-
-
Method Details
-
hasCause
-
getStackTraceAsString
-
retryOnException
-
retryOnException
-