public class ActivityFailureException extends RuntimeException
ActivityImplementation.execute(ActivityExecutionContext)
as it contains details property in the format that the activity client code
in the decider understands.
It is not expected to be thrown by the application level code.
Constructor and Description |
---|
ActivityFailureException(String reason) |
ActivityFailureException(String reason,
String details)
Construct exception with given arguments.
|
Modifier and Type | Method and Description |
---|---|
String |
getDetails() |
String |
getReason() |
void |
setDetails(String details) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ActivityFailureException(String reason)