Class AbstractResponse

    • Constructor Detail

      • AbstractResponse

        public AbstractResponse​(ServiceResponse.ServiceResult result)
        Instantiates a new abstract response.
        Parameters:
        result - the result
    • Method Detail

      • setErrorMessage

        public final void setErrorMessage​(java.lang.String errorMessage)
        Sets the error message.
        Parameters:
        errorMessage - the new error message
      • getErrorMessage

        public final java.lang.String getErrorMessage()
        Description copied from interface: ServiceResponse
        Gets the error message.
        Specified by:
        getErrorMessage in interface ServiceResponse
        Returns:
        the error message