Interface ServiceResult
-
- All Known Subinterfaces:
PurgeIndicatorResult
public interface ServiceResultRepresents the result of a service execution.- Since:
- 2.7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DQIdExceptiongetException()Returns the exception thrown if the service execution failed,nullotherwise.java.lang.StringgetExceptionMessage(java.util.Locale locale)Returns a full, localized user message with the exception thrown if service execution has failed,nullotherwise.booleanhasFailed()Returnstrueif the service execution has failed.
-
-
-
Method Detail
-
hasFailed
boolean hasFailed()
Returnstrueif the service execution has failed.
-
getException
DQIdException getException()
Returns the exception thrown if the service execution failed,nullotherwise.
-
getExceptionMessage
java.lang.String getExceptionMessage(java.util.Locale locale)
Returns a full, localized user message with the exception thrown if service execution has failed,nullotherwise.
-
-