@Immutable public class LoggingCSSInterpretErrorHandler extends Object implements ICSSInterpretErrorHandler
ICSSInterpretErrorHandler
. So in case a
warning or an error occurs, the details are logged to an SLF4J logger.Constructor and Description |
---|
LoggingCSSInterpretErrorHandler()
Default constructor.
|
Modifier and Type | Method and 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() |
public LoggingCSSInterpretErrorHandler()
public void onCSSInterpretationWarning(@Nonnull @Nonempty String sMessage)
ICSSInterpretErrorHandler
onCSSInterpretationWarning
in interface ICSSInterpretErrorHandler
sMessage
- The message text of the error.public void onCSSInterpretationError(@Nonnull @Nonempty String sMessage)
ICSSInterpretErrorHandler
onCSSInterpretationError
in interface ICSSInterpretErrorHandler
sMessage
- The message text of the error.Copyright © 2014–2020 Philip Helger. All rights reserved.