Interface SACErrorHandler

All Known Subinterfaces:
SheetErrorHandler
All Known Implementing Classes:
DefaultSheetErrorHandler

public interface SACErrorHandler
High-level handling of SAC errors and warnings.
  • Method Details

    • mapError

      void mapError(CSSParseException exception, CSSRule rule)
      Map a SAC error or fatal error to a specific rule.
      Parameters:
      exception - the parse exception.
      rule - the rule having the error.
    • handleSacWarning

      void handleSacWarning(CSSParseException exception)
      Handle a SAC warning.
      Parameters:
      exception - the parse exception.
    • handleSacError

      void handleSacError(CSSParseException exception)
      Handle a SAC error or fatal error.
      Parameters:
      exception - the parse exception.
    • hasSacErrors

      boolean hasSacErrors()
      Check whether this handler has been notified of SAC errors (or fatal errors).
      Returns:
      true if SAC errors or fatal errors were notified since last SheetErrorHandler.reset(), false otherwise.
    • hasSacWarnings

      boolean hasSacWarnings()
      Check whether this handler has been notified of SAC warnings.
      Returns:
      true if SAC warnings were notified since last SheetErrorHandler.reset(), false otherwise.