anvil
Class ErrorListenerImpl

java.lang.Object
  |
  +--anvil.ErrorListenerImpl
All Implemented Interfaces:
ErrorListener

public class ErrorListenerImpl
extends java.lang.Object
implements ErrorListener

class ErrorListenerImpl


Field Summary
 java.util.List _events
           
 
Constructor Summary
ErrorListenerImpl()
           
 
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)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_events

public java.util.List _events
Constructor Detail

ErrorListenerImpl

public ErrorListenerImpl()
Method Detail

error

public void error(Location location,
                  java.lang.Throwable throwable)
Specified by:
error in interface ErrorListener

error

public void error(Location location,
                  java.lang.String message)
Specified by:
error in interface ErrorListener

merge

public void merge(ErrorListener listener)
Specified by:
merge in interface ErrorListener

errors

public int errors()
Specified by:
errors in interface ErrorListener

getEvents

public java.util.Iterator getEvents()
Specified by:
getEvents in interface ErrorListener

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object