Package net.sourceforge.plantuml.error
Class PSystemError
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.PlainDiagram
-
- net.sourceforge.plantuml.error.PSystemError
-
- All Implemented Interfaces:
Diagram,WarningHandler
- Direct Known Subclasses:
PSystemErrorEmpty,PSystemErrorPreprocessor,PSystemErrorV2
public abstract class PSystemError extends PlainDiagram
-
-
Field Summary
Fields Modifier and Type Field Description protected ErrorUmlsingleErrorprotected java.util.List<StringLocated>trace
-
Constructor Summary
Constructors Constructor Description PSystemError(UmlSource source, PreprocessingArtifact preprocessing)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageBuildercreateImageBuilder(FileFormatOption fileFormatOption)static voiddisableTimeBasedErrorDecorations()protected ImageDataexportDiagramNow(java.io.OutputStream os, int num, FileFormatOption fileFormat)DiagramDescriptiongetDescription()java.util.Collection<ErrorUml>getErrorsUml()ErrorUmlgetFirstError()protected StringLocatedgetLastLine()LineLocationgetLineLocation()java.util.List<java.lang.String>getPureAsciiFormatted()protected UDrawablegetRootDrawable(FileFormatOption fileFormatOption)protected java.util.List<java.lang.String>getTextFullBody()java.lang.StringgetWarningOrError()intscore()-
Methods inherited from class net.sourceforge.plantuml.PlainDiagram
exportDiagramGraphic
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
addWarning, checkFinalError, executeCommand, exportDiagram, getDefaultMargins, getMetadata, getNamespaceSeparator, getNbImages, getPreprocessingArtifact, getRequiredPass, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitle, getTitleDisplay, getWarnings, hasUrl, isOk, makeDiagramReady, muteColorMapper, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVertical, startingPass
-
-
-
-
Field Detail
-
trace
protected java.util.List<StringLocated> trace
-
singleError
protected ErrorUml singleError
-
-
Constructor Detail
-
PSystemError
public PSystemError(UmlSource source, PreprocessingArtifact preprocessing)
-
-
Method Detail
-
disableTimeBasedErrorDecorations
public static void disableTimeBasedErrorDecorations()
-
createImageBuilder
public ImageBuilder createImageBuilder(FileFormatOption fileFormatOption) throws java.io.IOException
- Overrides:
createImageBuilderin classPlainDiagram- Throws:
java.io.IOException
-
getLastLine
protected final StringLocated getLastLine()
-
getLineLocation
public final LineLocation getLineLocation()
-
getErrorsUml
public final java.util.Collection<ErrorUml> getErrorsUml()
-
getFirstError
public final ErrorUml getFirstError()
-
getWarningOrError
public final java.lang.String getWarningOrError()
- Specified by:
getWarningOrErrorin interfaceDiagram- Overrides:
getWarningOrErrorin classAbstractPSystem
-
getPureAsciiFormatted
public java.util.List<java.lang.String> getPureAsciiFormatted()
-
getTextFullBody
protected java.util.List<java.lang.String> getTextFullBody()
-
exportDiagramNow
protected final ImageData exportDiagramNow(java.io.OutputStream os, int num, FileFormatOption fileFormat) throws java.io.IOException
- Overrides:
exportDiagramNowin classPlainDiagram- Throws:
java.io.IOException
-
getRootDrawable
protected UDrawable getRootDrawable(FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
getRootDrawablein classPlainDiagram- Throws:
java.io.IOException
-
getDescription
public final DiagramDescription getDescription()
-
score
public int score()
-
-