Class XmlErrorHandlers.XmlErrorHandlerRuntimeException

  • All Implemented Interfaces:
    org.xml.sax.ErrorHandler
    Enclosing class:
    XmlErrorHandlers

    public static class XmlErrorHandlers.XmlErrorHandlerRuntimeException
    extends java.lang.Object
    implements org.xml.sax.ErrorHandler
    XML Error Handler which will throw RuntimeException if any Exception was thrown.
    Since:
    v1.0.3 - 2018-01-10
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(org.xml.sax.SAXParseException _exception)  
      void fatalError​(org.xml.sax.SAXParseException _exception)  
      void warning​(org.xml.sax.SAXParseException _exception)  
      • Methods inherited from class java.lang.Object

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

      • XmlErrorHandlerRuntimeException

        public XmlErrorHandlerRuntimeException()
    • Method Detail

      • warning

        public void warning​(org.xml.sax.SAXParseException _exception)
                     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 _exception)
                   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 _exception)
                        throws org.xml.sax.SAXException
        Specified by:
        fatalError in interface org.xml.sax.ErrorHandler
        Throws:
        org.xml.sax.SAXException