1 18 package org.apache.batik.transcoder; 19 20 28 public class DefaultErrorHandler implements ErrorHandler { 29 30 36 public void error(TranscoderException ex) throws TranscoderException { 37 System.err.println("ERROR: "+ex.getMessage()); 38 } 39 40 47 public void fatalError(TranscoderException ex) throws TranscoderException { 48 throw ex; 49 } 50 51 57 public void warning(TranscoderException ex) throws TranscoderException { 58 System.err.println("WARNING: "+ex.getMessage()); 59 } 60 } 61 | Popular Tags |