[Minor] Log path when model include fails

This commit is contained in:
Robert von Burg 2019-09-10 13:19:23 +02:00
parent ed9506555d
commit 55e6121633
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class XmlModelSaxFileReader extends XmlModelSaxReader {
File includeFile = new File(this.modelFile.getParentFile(), includeFileS);
if (!includeFile.exists() || !includeFile.canRead()) {
String msg = "The IncludeFile does not exist, or is not readable. Source model: {0} with IncludeFile: {1}"; //$NON-NLS-1$
msg = MessageFormat.format(msg, this.modelFile.getName(), includeFileS);
msg = MessageFormat.format(msg, this.modelFile.getAbsolutePath(), includeFileS);
throw new IllegalArgumentException(msg);
}