ErrorHandlerpublic 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 | Description |
|---|---|
DefaultErrorHandler() |
| Modifier and Type | Method | 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 ? 2018 Apache Software Foundation. All Rights Reserved.