Package org.apache.batik.svggen
Class DefaultErrorHandler
java.lang.Object
org.apache.batik.svggen.DefaultErrorHandler
- All Implemented Interfaces:
ErrorHandler
The
ErrorHandler
interface allows you to specialize
how the error will be set on an SVG Element
.- Version:
- $Id: DefaultErrorHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
Constructor Summary
Constructors -
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
-