Interface ILcdPaintExceptionHandler

All Known Implementing Classes:
TLcdLoggingPaintExceptionHandler

public interface ILcdPaintExceptionHandler
Allows to report exceptions during painting. The handler can escalate the exception if necessary and decide if painting should be resumed or not.
Since:
10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called when an exception is encountered during painting.
  • Method Details

    • handlePaintException

      boolean handlePaintException(Exception aException, ILcdLayer aLayer)
      Called when an exception is encountered during painting. Implementations can for example log a warning when an exception is encountered, or they can throw a new exception.
      Parameters:
      aException - the exception that occurred.
      aLayer - the layer that is involved, or null if no layer was involved.
      Returns:
      true if painting should resume, false if painting should stop.