Skip to content

Commit 6326c43

Browse files
add proposal changes
1 parent 75da4eb commit 6326c43

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/esmf-aspect-meta-model-java/src/main/java/org/eclipse/esmf/aspectmodel/resolver/FileSystemStrategy.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ public AspectModelFile apply( final AspectModelUrn aspectModelUrn, final Resolut
9595
final RawAspectModelFile loadedFile = tryFile.get();
9696
if ( resolutionStrategySupport.containsDefinition( loadedFile, aspectModelUrn ) ) {
9797
return loadedFile;
98+
} else {
99+
checkedLocations.add( new ModelResolutionException.LoadingFailure( aspectModelUrn, namedResourceFile.getAbsolutePath(),
100+
"File does not contain the element definition" ) );
98101
}
99102
} else {
100103
checkedLocations.add( new ModelResolutionException.LoadingFailure( aspectModelUrn, namedResourceFile.getAbsolutePath(),

0 commit comments

Comments
 (0)