Package com.luciad.view
Class TLcdLoggingPaintExceptionHandler
java.lang.Object
com.luciad.view.TLcdLoggingPaintExceptionHandler
- All Implemented Interfaces:
ILcdPaintExceptionHandler
This paint exception handler logs an error when an exception is encountered.
After the exception is handled, painting is resumed.
- Since:
- 10.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an new paint exception handler that logs an error when an exception is encountered. -
Method Summary
Modifier and TypeMethodDescriptionboolean
handlePaintException
(Exception aException, ILcdLayer aLayer) Called when an exception is encountered during painting.
-
Constructor Details
-
Method Details
-
handlePaintException
Description copied from interface:ILcdPaintExceptionHandler
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.- Specified by:
handlePaintException
in interfaceILcdPaintExceptionHandler
- 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.
-