Fix up numbers
This commit is contained in:
parent
1bd060efd5
commit
434d817ca5
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue