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,nullotherwise.getExceptionMessage(Locale locale) Returns a full, localized user message with the exception thrown if service execution has failed,nullotherwise.booleanReturnstrueif the service execution has failed.
-
Method Details
-
hasFailed
boolean hasFailed()Returnstrueif the service execution has failed. -
getException
DQIdException getException()Returns the exception thrown if the service execution failed,nullotherwise. -
getExceptionMessage
Returns a full, localized user message with the exception thrown if service execution has failed,nullotherwise.
-