Package dev.amp.validator.css
Class CssErrorHandler
- java.lang.Object
-
- dev.amp.validator.css.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 Summary
Constructors Constructor Description CssErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(org.w3c.css.sac.CSSParseException e)Error handler for errorvoidfatalError(org.w3c.css.sac.CSSParseException e)Error handler for fatal errorvoidwarning(org.w3c.css.sac.CSSParseException e)Error handler for warning
-
-
-
Method Detail
-
warning
public void warning(@Nonnull org.w3c.css.sac.CSSParseException e) throws org.w3c.css.sac.CSSExceptionError handler for warning- Specified by:
warningin interfaceorg.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.CSSExceptionError handler for error- Specified by:
errorin interfaceorg.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.CSSExceptionError handler for fatal error- Specified by:
fatalErrorin interfaceorg.w3c.css.sac.ErrorHandler- Parameters:
e- exception caught- Throws:
org.w3c.css.sac.CSSException
-
-