Class ResourceBundleError


  • public class ResourceBundleError
    extends Object
    Describes an error which occured whilst processing a resource bundle
    • Constructor Detail

      • ResourceBundleError

        public ResourceBundleError​(int lineNumber,
                                   String errorText,
                                   Integer responseTimeMs,
                                   Integer httpStatusCode,
                                   String httpStatusText)
        Public constructor
        Parameters:
        lineNumber -
        errorText -
        responseTimeMs -
        httpStatusCode -
        httpStatusText -
      • ResourceBundleError

        public ResourceBundleError​(int lineNumber,
                                   String errorText)
        Constructor for errors which occur before the FHIR call is made and so there won't be any HTTP error codes or response time.
        Parameters:
        lineNumber -
        errorText -
    • Method Detail

      • getLineNumber

        public int getLineNumber()
        Returns:
        the lineNumber
      • getErrorText

        public String getErrorText()
        Returns:
        the errorText
      • getResponseTimeMs

        public Integer getResponseTimeMs()
        Returns:
        the responseTimeMs
      • getHttpStatusCode

        public Integer getHttpStatusCode()
        Returns:
        the httpStatusCode
      • getHttpStatusText

        public String getHttpStatusText()
        Returns:
        the httpStatusText