Package org.htmlunit

Class SilentCssErrorHandler

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

public class SilentCssErrorHandler extends Object implements org.htmlunit.cssparser.parser.CSSErrorHandler, Serializable
Implementation of CSSErrorHandler which ignores all CSS problems.
See Also:
  • Constructor Details

    • SilentCssErrorHandler

      public SilentCssErrorHandler()
  • 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