From 434d817ca5472d6b3927962e0511de520963daa4 Mon Sep 17 00:00:00 2001 From: Tadgh Date: Fri, 11 Nov 2022 12:15:22 -0800 Subject: [PATCH] Fix up numbers --- .../src/main/java/org/hl7/fhir/r4b/hapi/ctx/FhirR4B.java | 2 +- .../main/java/org/hl7/fhir/r4b/hapi/fhirpath/FhirPathR4B.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hapi-fhir-structures-r4b/src/main/java/org/hl7/fhir/r4b/hapi/ctx/FhirR4B.java b/hapi-fhir-structures-r4b/src/main/java/org/hl7/fhir/r4b/hapi/ctx/FhirR4B.java index 9b5fc3d01da..0f4624fd57b 100644 --- a/hapi-fhir-structures-r4b/src/main/java/org/hl7/fhir/r4b/hapi/ctx/FhirR4B.java +++ b/hapi-fhir-structures-r4b/src/main/java/org/hl7/fhir/r4b/hapi/ctx/FhirR4B.java @@ -86,7 +86,7 @@ public class FhirR4B implements IFhirVersion { str = FhirR4B.class.getResourceAsStream(path); } if (str == null) { - throw new ConfigurationException(Msg.code(200) + "Can not find model property file on classpath: " + path); + throw new ConfigurationException(Msg.code(2156) + "Can not find model property file on classpath: " + path); } return str; } diff --git a/hapi-fhir-structures-r4b/src/main/java/org/hl7/fhir/r4b/hapi/fhirpath/FhirPathR4B.java b/hapi-fhir-structures-r4b/src/main/java/org/hl7/fhir/r4b/hapi/fhirpath/FhirPathR4B.java index 455c4d51ef1..a622f618af5 100644 --- a/hapi-fhir-structures-r4b/src/main/java/org/hl7/fhir/r4b/hapi/fhirpath/FhirPathR4B.java +++ b/hapi-fhir-structures-r4b/src/main/java/org/hl7/fhir/r4b/hapi/fhirpath/FhirPathR4B.java @@ -30,12 +30,12 @@ public class FhirPathR4B implements IFhirPath { try { result = myEngine.evaluate((Base) theInput, thePath); } catch (FHIRException e) { - throw new FhirPathExecutionException(Msg.code(198) + e); + throw new FhirPathExecutionException(Msg.code(2154) + e); } for (Base next : result) { if (!theReturnType.isAssignableFrom(next.getClass())) { - throw new FhirPathExecutionException(Msg.code(199) + "FluentPath expression \"" + thePath + "\" returned unexpected type " + next.getClass().getSimpleName() + " - Expected " + theReturnType.getName()); + throw new FhirPathExecutionException(Msg.code(2155) + "FluentPath expression \"" + thePath + "\" returned unexpected type " + next.getClass().getSimpleName() + " - Expected " + theReturnType.getName()); } }