Fix up numbers

This commit is contained in:
Tadgh 2022-11-11 12:15:22 -08:00
parent 1bd060efd5
commit 434d817ca5
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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());
}
}