Better error reporting.

This commit is contained in:
Erich Schubert 2018-10-27 02:41:18 +02:00
parent 1e52483a86
commit fc1b199daf
1 changed files with 12 additions and 8 deletions

View File

@ -117,6 +117,7 @@ public class UmlGraphDoc {
ContextView view = null;
for (ClassDoc classDoc : classDocs) {
try {
if(view == null)
view = new ContextView(outputFolder, classDoc, root, opt);
else
@ -125,6 +126,9 @@ public class UmlGraphDoc {
runGraphviz(opt.dotExecutable, outputFolder, classDoc.containingPackage().name(), classDoc.name(), root);
alterHtmlDocs(opt, outputFolder, classDoc.containingPackage().name(), classDoc.name(),
classDoc.name() + ".html", Pattern.compile(".*(Class|Interface|Enum) " + classDoc.name() + ".*") , root);
} catch (Exception e) {
throw new RuntimeException("Error generating " + classDoc.name(), e);
}
}
}