Class DoNothingCSSInterpretErrorHandler
- java.lang.Object
-
- com.helger.css.reader.errorhandler.DoNothingCSSInterpretErrorHandler
-
- All Implemented Interfaces:
ICSSInterpretErrorHandler
public class DoNothingCSSInterpretErrorHandler extends Object implements ICSSInterpretErrorHandler
An implementation ofICSSInterpretErrorHandler
that does nothing.- Since:
- 5.0.2
- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description DoNothingCSSInterpretErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCSSInterpretationError(String sMessage)
Called when an interpretation error occurs.void
onCSSInterpretationWarning(String sMessage)
Called when an interpretation error or warning occurs.String
toString()
-
-
-
Method Detail
-
onCSSInterpretationWarning
public void onCSSInterpretationWarning(@Nonnull @Nonempty String sMessage)
Description copied from interface:ICSSInterpretErrorHandler
Called when an interpretation error or warning occurs.- Specified by:
onCSSInterpretationWarning
in interfaceICSSInterpretErrorHandler
- Parameters:
sMessage
- The message text of the error.
-
onCSSInterpretationError
public void onCSSInterpretationError(@Nonnull @Nonempty String sMessage)
Description copied from interface:ICSSInterpretErrorHandler
Called when an interpretation error occurs.- Specified by:
onCSSInterpretationError
in interfaceICSSInterpretErrorHandler
- Parameters:
sMessage
- The message text of the error.
-
-