java.lang.Object
io.sf.carte.echosvg.svggen.DefaultErrorHandler
- All Implemented Interfaces:
ErrorHandler
The
ErrorHandler
interface allows you to specialize how the
error will be set on an SVG Element
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method handles theSVGGraphics2DIOException
.void
This method handles theSVGGraphics2DRuntimeException
.
-
Constructor Details
-
DefaultErrorHandler
public DefaultErrorHandler()
-
-
Method Details
-
handleError
This method handles theSVGGraphics2DIOException
. The default implementation re-throws the exception.- Specified by:
handleError
in interfaceErrorHandler
- Throws:
SVGGraphics2DIOException
-
handleError
This method handles theSVGGraphics2DRuntimeException
. The default implementation print the exception message.- Specified by:
handleError
in interfaceErrorHandler
- Throws:
SVGGraphics2DRuntimeException
-