diff --git a/src/net/sourceforge/plantuml/error/PSystemError.java b/src/net/sourceforge/plantuml/error/PSystemError.java index ff97309be..423b12c4d 100644 --- a/src/net/sourceforge/plantuml/error/PSystemError.java +++ b/src/net/sourceforge/plantuml/error/PSystemError.java @@ -115,6 +115,10 @@ public abstract class PSystemError extends AbstractPSystem { return Collections.singleton(singleError); } + final public ErrorUml getFirstError() { + return singleError; + } + final public String getWarningOrError() { final StringBuilder sb = new StringBuilder(); sb.append(getDescription()); @@ -156,7 +160,7 @@ public abstract class PSystemError extends AbstractPSystem { return result; } - private List getPureAsciiFormatted() { + public List getPureAsciiFormatted() { final List result = getTextFromStack(); result.addAll(getTextFullBody()); result.add("^^^^^");