@Deprecated public final class TransitionalThrowingErrorReporter extends ErrorReporterImpl
ErrorReporter implementation that allows callers to give up and throw an exception
if any errors were encountered.
TODO(user): remove. Soy has traditionally thrown exceptions for every kind of error.
We are in the process of changing this to enable reporting of multiple errors, error recovery,
and so on. This class should be used solely during this transition, in call sites that do not
yet have a proper error manager to report errors to.ErrorReporter.Checkpointerrors| Constructor and Description |
|---|
TransitionalThrowingErrorReporter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
throwIfErrorsPresent()
Deprecated.
|
checkpoint, errorsSince, getErrors, report