org.apache.batik.svggen
Class DefaultErrorHandler
java.lang.Object
org.apache.batik.svggen.DefaultErrorHandler
- All Implemented Interfaces:
- ErrorHandler
public class DefaultErrorHandler
- extends Object
- implements ErrorHandler
The ErrorHandler
interface allows you to specialize
how the error will be set on an SVG Element
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultErrorHandler
public DefaultErrorHandler()
handleError
public void handleError(SVGGraphics2DIOException ex)
throws SVGGraphics2DIOException
- This method handles the
SVGGraphics2DIOException
. The default
implementation re-throws the exception.
- Specified by:
handleError
in interface ErrorHandler
- Throws:
SVGGraphics2DIOException
handleError
public void handleError(SVGGraphics2DRuntimeException ex)
throws SVGGraphics2DRuntimeException
- This method handles the
SVGGraphics2DRuntimeException
.
The default implementation print the exception message.
- Specified by:
handleError
in interface ErrorHandler
- Throws:
SVGGraphics2DRuntimeException
Copyright © 2008 Apache Software Foundation. All Rights Reserved.