Class ResourceBundleError
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.api.ResourceBundleError
-
public class ResourceBundleError extends java.lang.Object
Describes an error which occured whilst processing a resource bundle
-
-
Constructor Summary
Constructors Constructor Description ResourceBundleError(int lineNumber, java.lang.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.ResourceBundleError(int lineNumber, java.lang.String errorText, java.lang.Integer responseTimeMs, java.lang.Integer httpStatusCode, java.lang.String httpStatusText)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getErrorText()
java.lang.Integer
getHttpStatusCode()
java.lang.String
getHttpStatusText()
int
getLineNumber()
java.lang.Integer
getResponseTimeMs()
-
-
-
Constructor Detail
-
ResourceBundleError
public ResourceBundleError(int lineNumber, java.lang.String errorText, java.lang.Integer responseTimeMs, java.lang.Integer httpStatusCode, java.lang.String httpStatusText)
Public constructor- Parameters:
lineNumber
-errorText
-responseTimeMs
-httpStatusCode
-httpStatusText
-
-
ResourceBundleError
public ResourceBundleError(int lineNumber, java.lang.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 java.lang.String getErrorText()
- Returns:
- the errorText
-
getResponseTimeMs
public java.lang.Integer getResponseTimeMs()
- Returns:
- the responseTimeMs
-
getHttpStatusCode
public java.lang.Integer getHttpStatusCode()
- Returns:
- the httpStatusCode
-
getHttpStatusText
public java.lang.String getHttpStatusText()
- Returns:
- the httpStatusText
-
-