Class ConsoleErrorReporter

  • All Implemented Interfaces:
    ErrorListener, org.xml.sax.ErrorHandler

    public class ConsoleErrorReporter
    extends java.lang.Object
    implements ErrorListener
    Prints the error to a stream.
    Author:
    Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsoleErrorReporter​(java.io.PrintStream out)  
    • 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

      • ConsoleErrorReporter

        public ConsoleErrorReporter​(java.io.PrintStream out)
    • Method Detail

      • error

        public void error​(org.xml.sax.SAXParseException exception)
        Specified by:
        error in interface org.xml.sax.ErrorHandler
        Specified by:
        error in interface ErrorListener
      • fatalError

        public void fatalError​(org.xml.sax.SAXParseException exception)
        Specified by:
        fatalError in interface org.xml.sax.ErrorHandler
        Specified by:
        fatalError in interface ErrorListener
      • warning

        public void warning​(org.xml.sax.SAXParseException exception)
        Specified by:
        warning in interface org.xml.sax.ErrorHandler
        Specified by:
        warning in interface ErrorListener