< prev index next >

test/javax/xml/jaxp/unittest/validation/ErrorHandlerImpl.java

Print this page




  28 import org.xml.sax.SAXParseException;
  29 
  30 public class ErrorHandlerImpl implements ErrorHandler {
  31    /** Creates a new instance of ErrorHandlerImpl */
  32     public ErrorHandlerImpl() {
  33     }
  34 
  35     public void error(SAXParseException sAXParseException) throws SAXException {
  36         throw new SAXException(sAXParseException);
  37     }
  38 
  39     public void fatalError(SAXParseException sAXParseException) throws SAXException {
  40         throw new SAXException(sAXParseException);
  41     }
  42 
  43     public void warning(SAXParseException sAXParseException) throws SAXException {
  44         throw new SAXException(sAXParseException);
  45     }
  46 
  47 }
  48 


  28 import org.xml.sax.SAXParseException;
  29 
  30 public class ErrorHandlerImpl implements ErrorHandler {
  31    /** Creates a new instance of ErrorHandlerImpl */
  32     public ErrorHandlerImpl() {
  33     }
  34 
  35     public void error(SAXParseException sAXParseException) throws SAXException {
  36         throw new SAXException(sAXParseException);
  37     }
  38 
  39     public void fatalError(SAXParseException sAXParseException) throws SAXException {
  40         throw new SAXException(sAXParseException);
  41     }
  42 
  43     public void warning(SAXParseException sAXParseException) throws SAXException {
  44         throw new SAXException(sAXParseException);
  45     }
  46 
  47 }

< prev index next >