Class DefaultCommandLineCompiler.CompilerErrorManager
java.lang.Object
com.google.common.css.compiler.ast.BasicErrorManager
com.google.common.css.compiler.commandline.DefaultCommandLineCompiler.CompilerErrorManager
- All Implemented Interfaces:
ErrorManager
- Enclosing class:
- DefaultCommandLineCompiler
protected static final class DefaultCommandLineCompiler.CompilerErrorManager
extends BasicErrorManager
An error message handler.
-
Field Summary
Fields inherited from class com.google.common.css.compiler.ast.BasicErrorManager
errors, warnings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidreportWarning(GssError warning) Report an error message that does not make compilation fail.voidsetWarningsAsErrors(boolean state) Methods inherited from class com.google.common.css.compiler.ast.BasicErrorManager
generateReport, getErrorCount, hasErrors, report
-
Constructor Details
-
CompilerErrorManager
protected CompilerErrorManager()
-
-
Method Details
-
print
- Specified by:
printin classBasicErrorManager
-
reportWarning
Description copied from interface:ErrorManagerReport an error message that does not make compilation fail.- Specified by:
reportWarningin interfaceErrorManager- Overrides:
reportWarningin classBasicErrorManager
-
setWarningsAsErrors
public void setWarningsAsErrors(boolean state)
-