- All Known Implementing Classes:
HandlerBase,ThrowCssExceptionErrorHandler
public interface CSSErrorHandler
Interface for CSS parser error handlers.
- Author:
- Ronald Brill
-
Method Summary
Modifier and TypeMethodDescriptionvoiderror(CSSParseException exception) Handles an error condition.voidfatalError(CSSParseException exception) Handles a fatal error condition.voidwarning(CSSParseException exception) Handles a warning condition.
-
Method Details
-
warning
Handles a warning condition.- Parameters:
exception- theCSSParseExceptionthat is the reason for the warning- Throws:
CSSException- in case of error
-
error
Handles an error condition.- Parameters:
exception- theCSSParseExceptionthat is the reason for the error- Throws:
CSSException- in case of error
-
fatalError
Handles a fatal error condition.- Parameters:
exception- theCSSParseExceptionthat is the reason for the fatal error- Throws:
CSSException- in case of error
-