mirror of https://github.com/dspinellis/UMLGraph
Better error reporting.
This commit is contained in:
parent
1e52483a86
commit
fc1b199daf
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue