adjust exception type

This commit is contained in:
Grahame Grieve 2020-08-13 17:58:03 +10:00
parent 63b93480d9
commit dc2126c786
1 changed files with 2 additions and 2 deletions

View File

@ -167,11 +167,11 @@ public class ValueSetCheckerSimple implements ValueSetChecker {
} else {
// well, we didn't find a code system - try the expansion?
// disabled waiting for discussion
throw new Error("No try the server");
throw new FHIRException("No try the server");
}
} else {
// disabled waiting for discussion
throw new Error("No try the server");
throw new FHIRException("No try the server");
// inExpansion = checkExpansion(code);
}