1 18 package org.apache.batik.svggen; 19 20 27 public class DefaultErrorHandler implements ErrorHandler { 28 32 public void handleError(SVGGraphics2DIOException ex) 33 throws SVGGraphics2DIOException { 34 throw ex; 35 } 36 37 41 public void handleError(SVGGraphics2DRuntimeException ex) 42 throws SVGGraphics2DRuntimeException { 43 System.err.println(ex.getMessage()); 44 } 45 } 46 | Popular Tags |