Class IgnoreAllErrorHandler

java.lang.Object
org.docx4j.org.apache.xml.security.utils.IgnoreAllErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class IgnoreAllErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
This ErrorHandler does absolutely nothing but log the events.
Author:
Christian Geuer-Pollmann
  • Constructor Summary

    Constructors 
    Constructor Description
    IgnoreAllErrorHandler()  
  • Method Summary

    Modifier and Type Method Description
    void error​(org.xml.sax.SAXParseException ex)  
    void fatalError​(org.xml.sax.SAXParseException ex)  
    void warning​(org.xml.sax.SAXParseException ex)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • warning

      public void warning​(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
      Specified by:
      warning in interface org.xml.sax.ErrorHandler
      Throws:
      org.xml.sax.SAXException
    • error

      public void error​(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
      Specified by:
      error in interface org.xml.sax.ErrorHandler
      Throws:
      org.xml.sax.SAXException
    • fatalError

      public void fatalError​(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
      Specified by:
      fatalError in interface org.xml.sax.ErrorHandler
      Throws:
      org.xml.sax.SAXException