public class DefaultErrorHandler extends java.lang.Object implements ErrorHandler
ErrorHandler
interface allows you to specialize
how the error will be set on an SVG Element
.Constructor and Description |
---|
DefaultErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleError(SVGGraphics2DIOException ex)
This method handles the
SVGGraphics2DIOException . |
void |
handleError(SVGGraphics2DRuntimeException ex)
This method handles the
SVGGraphics2DRuntimeException . |
public void handleError(SVGGraphics2DIOException ex) throws SVGGraphics2DIOException
SVGGraphics2DIOException
. The default
implementation re-throws the exception.handleError
in interface ErrorHandler
SVGGraphics2DIOException
public void handleError(SVGGraphics2DRuntimeException ex) throws SVGGraphics2DRuntimeException
SVGGraphics2DRuntimeException
.
The default implementation print the exception message.handleError
in interface ErrorHandler
SVGGraphics2DRuntimeException
Copyright © 2022 Apache Software Foundation. All Rights Reserved.