Class DummyErrorManager
java.lang.Object
com.google.common.css.compiler.passes.DummyErrorManager
- All Implemented Interfaces:
ErrorManager
DummyErrorManager is a stateless error manager suitable for use
in the Null Object pattern.
ErrorManager.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic DummyErrorManagerbooleanvoidReport an error message that makes compilation fail.voidreportWarning(GssError warning) Report an error message that does not make compilation fail.
-
Constructor Details
-
DummyErrorManager
public DummyErrorManager()
-
-
Method Details
-
getInstance
-
report
Description copied from interface:ErrorManagerReport an error message that makes compilation fail.- Specified by:
reportin interfaceErrorManager
-
reportWarning
Description copied from interface:ErrorManagerReport an error message that does not make compilation fail.- Specified by:
reportWarningin interfaceErrorManager
-
generateReport
public void generateReport()- Specified by:
generateReportin interfaceErrorManager
-
hasErrors
public boolean hasErrors()- Specified by:
hasErrorsin interfaceErrorManager
-