Interface ServiceResult

All Known Subinterfaces:
PurgeIndicatorResult

public interface ServiceResult
Represents the result of a service execution.
Since:
2.7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the exception thrown if the service execution failed, null otherwise.
    Returns a full, localized user message with the exception thrown if service execution has failed, null otherwise.
    boolean
    Returns true if the service execution has failed.
  • Method Details

    • hasFailed

      boolean hasFailed()
      Returns true if the service execution has failed.
    • getException

      DQIdException getException()
      Returns the exception thrown if the service execution failed, null otherwise.
    • getExceptionMessage

      String getExceptionMessage(Locale locale)
      Returns a full, localized user message with the exception thrown if service execution has failed, null otherwise.