Class LoggingErrorListener

  • All Implemented Interfaces:
    org.stringtemplate.v4.STErrorListener

    public final class LoggingErrorListener
    extends java.lang.Object
    implements org.stringtemplate.v4.STErrorListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void compileTimeError​(org.stringtemplate.v4.misc.STMessage stMessage)  
      void internalError​(org.stringtemplate.v4.misc.STMessage stMessage)  
      void IOError​(org.stringtemplate.v4.misc.STMessage stMessage)  
      private void logError​(org.stringtemplate.v4.misc.STMessage stMessage, java.lang.String errorType)  
      void runTimeError​(org.stringtemplate.v4.misc.STMessage stMessage)  
      • Methods inherited from class java.lang.Object

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

      • url

        private final java.net.URL url
    • Constructor Detail

      • LoggingErrorListener

        public LoggingErrorListener​(ErrorListener errorListener,
                                    java.net.URL url)
    • Method Detail

      • logError

        private void logError​(org.stringtemplate.v4.misc.STMessage stMessage,
                              java.lang.String errorType)
      • compileTimeError

        public void compileTimeError​(org.stringtemplate.v4.misc.STMessage stMessage)
        Specified by:
        compileTimeError in interface org.stringtemplate.v4.STErrorListener
      • runTimeError

        public void runTimeError​(org.stringtemplate.v4.misc.STMessage stMessage)
        Specified by:
        runTimeError in interface org.stringtemplate.v4.STErrorListener
      • IOError

        public void IOError​(org.stringtemplate.v4.misc.STMessage stMessage)
        Specified by:
        IOError in interface org.stringtemplate.v4.STErrorListener
      • internalError

        public void internalError​(org.stringtemplate.v4.misc.STMessage stMessage)
        Specified by:
        internalError in interface org.stringtemplate.v4.STErrorListener