Package org.htmlunit

Class DefaultCssErrorHandler

java.lang.Object
org.htmlunit.DefaultCssErrorHandler
All Implemented Interfaces:
Serializable, org.htmlunit.cssparser.parser.CSSErrorHandler

public class DefaultCssErrorHandler extends Object implements org.htmlunit.cssparser.parser.CSSErrorHandler, Serializable
HtmlUnit's default implementation of CSSErrorHandler, which logs all CSS problems.
See Also:
  • Constructor Details

    • DefaultCssErrorHandler

      public DefaultCssErrorHandler()
  • Method Details

    • error

      public void error(org.htmlunit.cssparser.parser.CSSParseException exception)
      Specified by:
      error in interface org.htmlunit.cssparser.parser.CSSErrorHandler
    • fatalError

      public void fatalError(org.htmlunit.cssparser.parser.CSSParseException exception)
      Specified by:
      fatalError in interface org.htmlunit.cssparser.parser.CSSErrorHandler
    • warning

      public void warning(org.htmlunit.cssparser.parser.CSSParseException exception)
      Specified by:
      warning in interface org.htmlunit.cssparser.parser.CSSErrorHandler