anvil
Interface ErrorListener

All Known Subinterfaces:
ParserInterface
All Known Implementing Classes:
ErrorListenerImpl, ParserBase, Smith, TemplateParser

public interface ErrorListener

interface ErrorListener


Method Summary
 void error(Location location, java.lang.String message)
           
 void error(Location location, java.lang.Throwable throwable)
           
 int errors()
           
 java.util.Iterator getEvents()
           
 void merge(ErrorListener listener)
           
 

Method Detail

error

public void error(Location location,
                  java.lang.Throwable throwable)

error

public void error(Location location,
                  java.lang.String message)

errors

public int errors()

getEvents

public java.util.Iterator getEvents()

merge

public void merge(ErrorListener listener)