Package com.persequor.extension.document
Interface IFailedReasonDetails
- All Superinterfaces:
HasAdditionalData<IFailedReasonDetails>
- All Known Implementing Classes:
RejectMessageException
,SubscriptionDelayException
,SubscriptionFailedException
Interface to be implemented on Exceptions which can populate "Issues" in SAGA
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
The type of error, must be one ofIFailedReasonRegistry.values()
You should write the details in such a way that an operator knows what to do to resolve it and make a decision as to whether the Event/Document should be reprocessed by the queue.Methods inherited from interface com.persequor.extension.HasAdditionalData
getAdditionalData, withAdditionalData
-
Method Details
-
getIssueDetails
String getIssueDetails()You should write the details in such a way that an operator knows what to do to resolve it and make a decision as to whether the Event/Document should be reprocessed by the queue.- Returns:
- A description of what the issue is
-
getFailedReason
The type of error, must be one ofIFailedReasonRegistry.values()
- Returns:
- The type of error
-