Package org.apache.batik.svggen
Class DefaultErrorHandler
- java.lang.Object
-
- org.apache.batik.svggen.DefaultErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
public class DefaultErrorHandler extends java.lang.Object implements ErrorHandler
TheErrorHandler
interface allows you to specialize how the error will be set on an SVGElement
.- Version:
- $Id: DefaultErrorHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Constructor Summary
Constructors Constructor Description DefaultErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleError(SVGGraphics2DIOException ex)
This method handles theSVGGraphics2DIOException
.void
handleError(SVGGraphics2DRuntimeException ex)
This method handles theSVGGraphics2DRuntimeException
.
-
-
-
Method Detail
-
handleError
public void handleError(SVGGraphics2DIOException ex) throws SVGGraphics2DIOException
This method handles theSVGGraphics2DIOException
. The default implementation re-throws the exception.- Specified by:
handleError
in interfaceErrorHandler
- Throws:
SVGGraphics2DIOException
-
handleError
public void handleError(SVGGraphics2DRuntimeException ex) throws SVGGraphics2DRuntimeException
This method handles theSVGGraphics2DRuntimeException
. The default implementation print the exception message.- Specified by:
handleError
in interfaceErrorHandler
- Throws:
SVGGraphics2DRuntimeException
-
-