Package org.htmlunit

Class SilentCssErrorHandler

  • All Implemented Interfaces:
    java.io.Serializable, org.htmlunit.cssparser.parser.CSSErrorHandler

    public class SilentCssErrorHandler
    extends java.lang.Object
    implements org.htmlunit.cssparser.parser.CSSErrorHandler, java.io.Serializable
    Implementation of CSSErrorHandler which ignores all CSS problems.
    See Also:
    DefaultCssErrorHandler, Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(org.htmlunit.cssparser.parser.CSSParseException exception)
      void fatalError​(org.htmlunit.cssparser.parser.CSSParseException exception)
      void warning​(org.htmlunit.cssparser.parser.CSSParseException exception)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SilentCssErrorHandler

        public SilentCssErrorHandler()
    • Method Detail

      • 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