public class LightweightMessageFormatter extends AbstractMessageFormatter
Constructor and Description |
---|
LightweightMessageFormatter(SourceExcerptProvider source) |
LightweightMessageFormatter(SourceExcerptProvider source,
SourceExcerptProvider.SourceExcerpt excerpt) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatError(JSError error)
Format an error.
|
java.lang.String |
formatWarning(JSError warning)
Format a warning.
|
getSource, setColorize
public LightweightMessageFormatter(SourceExcerptProvider source)
public LightweightMessageFormatter(SourceExcerptProvider source, SourceExcerptProvider.SourceExcerpt excerpt)
public java.lang.String formatError(JSError error)
MessageFormatter
public java.lang.String formatWarning(JSError warning)
MessageFormatter