Interface ServiceResult
- All Known Subinterfaces:
PurgeIndicatorResult
public interface ServiceResult
Represents the result of a service execution.
- Since:
- 2.7.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the exception thrown if the service execution failed,null
otherwise.getExceptionMessage
(Locale locale) Returns a full, localized user message with the exception thrown if service execution has failed,null
otherwise.boolean
Returnstrue
if the service execution has failed.
-
Method Details
-
hasFailed
boolean hasFailed()Returnstrue
if the service execution has failed. -
getException
DQIdException getException()Returns the exception thrown if the service execution failed,null
otherwise. -
getExceptionMessage
Returns a full, localized user message with the exception thrown if service execution has failed,null
otherwise.
-