diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/DaoResourceLinkResolver.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/DaoResourceLinkResolver.java index 5b5879f0493..a219f39f292 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/DaoResourceLinkResolver.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/DaoResourceLinkResolver.java @@ -231,6 +231,7 @@ public class DaoResourceLinkResolver implements IResourceLinkResolver { * * @param theValue Part of the URL to extract identifiers from * @return Returns the first available identifier in the canonical form or null if URL contains no identifier param + * @throws IllegalArgumentException IllegalArgumentException is thrown in case identifier parameter can not be split using system|value pattern. */ protected CanonicalIdentifier extractIdentifierFromUrl(String theValue) { int identifierIndex = theValue.indexOf("identifier=");