diff --git a/basyx.submodelrepository/basyx.submodelrepository-client/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/client/ConnectedSubmodelRepository.java b/basyx.submodelrepository/basyx.submodelrepository-client/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/client/ConnectedSubmodelRepository.java index 52467a92f..1c052a82b 100644 --- a/basyx.submodelrepository/basyx.submodelrepository-client/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/client/ConnectedSubmodelRepository.java +++ b/basyx.submodelrepository/basyx.submodelrepository-client/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/client/ConnectedSubmodelRepository.java @@ -210,7 +210,7 @@ public Submodel getSubmodelByIdMetadata(String submodelId) throws ElementDoesNot try { return repoApi.getSubmodelById(submodelId, null, null); } catch (ApiException e) { - throw mapExceptionSubmodelAccess(submodelId, e); + throw mapExceptionSubmodelAccess(submodelId, e); } }