public class DefaultErrorHandler extends 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 ErrorHandlerSVGGraphics2DIOExceptionpublic void handleError(SVGGraphics2DRuntimeException ex) throws SVGGraphics2DRuntimeException
SVGGraphics2DRuntimeException.
The default implementation print the exception message.handleError in interface ErrorHandlerSVGGraphics2DRuntimeExceptionCopyright © 2000–2021 Apache Software Foundation. All rights reserved.