public final class ErrorReporterImpl extends AbstractErrorReporter
ErrorReporter implementation.ErrorReporter.Checkpoint| Constructor and Description |
|---|
ErrorReporterImpl() |
ErrorReporterImpl(SoyError.Factory defaultFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getCurrentNumberOfErrors() |
Iterable<SoyError> |
getErrors()
Returns the full list of errors reported to this error reporter.
|
void |
report(SourceLocation sourceLocation,
SoyErrorKind error,
Object... args)
Reports the given
error, formatted according to args and associated with
the given sourceLocation. |
checkpoint, errorsSincepublic ErrorReporterImpl()
public ErrorReporterImpl(SoyError.Factory defaultFactory)
public void report(SourceLocation sourceLocation, SoyErrorKind error, Object... args)
ErrorReportererror, formatted according to args and associated with
the given sourceLocation.public Iterable<SoyError> getErrors()
protected int getCurrentNumberOfErrors()
getCurrentNumberOfErrors in class AbstractErrorReporter