Class CssErrorHandler

  • All Implemented Interfaces:
    org.w3c.css.sac.ErrorHandler

    public class CssErrorHandler
    extends Object
    implements org.w3c.css.sac.ErrorHandler
    Error handler for css errors
    Author:
    nhant01, GeorgeLuo
    • Constructor Detail

      • CssErrorHandler

        public CssErrorHandler()
    • Method Detail

      • warning

        public void warning​(@Nonnull
                            org.w3c.css.sac.CSSParseException e)
                     throws org.w3c.css.sac.CSSException
        Error handler for warning
        Specified by:
        warning in interface org.w3c.css.sac.ErrorHandler
        Parameters:
        e - exception caught
        Throws:
        org.w3c.css.sac.CSSException
      • error

        public void error​(@Nonnull
                          org.w3c.css.sac.CSSParseException e)
                   throws org.w3c.css.sac.CSSException
        Error handler for error
        Specified by:
        error in interface org.w3c.css.sac.ErrorHandler
        Parameters:
        e - exception caught
        Throws:
        org.w3c.css.sac.CSSException
      • fatalError

        public void fatalError​(@Nonnull
                               org.w3c.css.sac.CSSParseException e)
                        throws org.w3c.css.sac.CSSException
        Error handler for fatal error
        Specified by:
        fatalError in interface org.w3c.css.sac.ErrorHandler
        Parameters:
        e - exception caught
        Throws:
        org.w3c.css.sac.CSSException