Package com.github.workerframework.api
Class TaskFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.workerframework.api.TaskFailedException
- All Implemented Interfaces:
Serializable
An unchecked exception to throw if a Worker fails its task in an unrecoverable way.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTaskFailedException
(String message) TaskFailedException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TaskFailedException
-
TaskFailedException
-