org.apache.batik.svggen

Class DefaultErrorHandler

public class DefaultErrorHandler extends Object implements ErrorHandler

The ErrorHandler interface allows you to specialize how the error will be set on an SVG Element.
Method Summary
voidhandleError(SVGGraphics2DIOException ex)
This method handles the SVGGraphics2DIOException.
voidhandleError(SVGGraphics2DRuntimeException ex)
This method handles the SVGGraphics2DRuntimeException.

Method Detail

handleError

public void handleError(SVGGraphics2DIOException ex)
This method handles the SVGGraphics2DIOException. The default implementation re-throws the exception.

handleError

public void handleError(SVGGraphics2DRuntimeException ex)
This method handles the SVGGraphics2DRuntimeException. The default implementation print the exception message.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.