Uses of Interface
org.apache.sis.image.ErrorHandler
Packages that use ErrorHandler
Package
Description
Provides helper classes for handling Java2D rendered images together with some operations.
A set of helper classes for the SIS implementation backed by Java2D.
Helper classes for the rendering of grid coverages.
-
Uses of ErrorHandler in org.apache.sis.image
Classes in org.apache.sis.image that implement ErrorHandlerModifier and TypeClassDescription(package private) enum
Some common ways to handle exceptions occurring during tile calculation.Fields in org.apache.sis.image declared as ErrorHandlerModifier and TypeFieldDescriptionprivate ErrorHandler
ImageProcessor.errorHandler
Whether errors occurring during computation should be propagated or wrapped in aLogRecord
.static final ErrorHandler
ErrorHandler.LOG
Exceptions are wrapped in aLogRecord
and logged, usually atLevel.WARNING
.static final ErrorHandler
ErrorHandler.THROW
Exceptions are wrapped in anImagingOpException
and thrown.Methods in org.apache.sis.image that return ErrorHandlerModifier and TypeMethodDescriptionImageProcessor.getErrorHandler()
Returns whether exceptions occurring during computation are propagated or logged.Methods in org.apache.sis.image with parameters of type ErrorHandlerModifier and TypeMethodDescription(package private) final void
AnnotatedImage.logAndClearError
(Class<?> classe, String method, ErrorHandler handler) If an error occurred, logs the message with the specified class and method as the source.void
ImageProcessor.setErrorHandler
(ErrorHandler handler) Sets whether exceptions occurring during computation are propagated or logged.Constructors in org.apache.sis.image with parameters of type ErrorHandlerModifierConstructorDescription(package private)
PrefetchedImage
(RenderedImage source, Rectangle areaOfInterest, ErrorHandler errorHandler, boolean parallel) Creates a new prefetched image. -
Uses of ErrorHandler in org.apache.sis.internal.coverage.j2d
Fields in org.apache.sis.internal.coverage.j2d declared as ErrorHandlerModifier and TypeFieldDescription(package private) final ErrorHandler
TileErrorHandler.handler
Where to report exceptions, orTHROW
for throwing them.Methods in org.apache.sis.internal.coverage.j2d with parameters of type ErrorHandlerModifier and TypeMethodDescriptionfinal void
TileOpExecutor.setErrorHandler
(ErrorHandler handler, Class<?> sourceClass, String sourceMethod) Sets the handler where to report exceptions.Constructors in org.apache.sis.internal.coverage.j2d with parameters of type ErrorHandlerModifierConstructorDescriptionTileErrorHandler
(ErrorHandler handler, Class<?> sourceClass, String sourceMethod) Creates a new tile error handler. -
Uses of ErrorHandler in org.apache.sis.internal.map.coverage
Constructors in org.apache.sis.internal.map.coverage with parameters of type ErrorHandlerModifierConstructorDescriptionRenderingData
(ErrorHandler errorHandler) Creates a new instance initialized to no image.