polyglot.util
Class SilentErrorQueue

java.lang.Object
  extended by polyglot.util.AbstractErrorQueue
      extended by polyglot.util.SilentErrorQueue
All Implemented Interfaces:
ErrorQueue

public class SilentErrorQueue
extends AbstractErrorQueue

A SilentErrorQueue records but does not output error messages.


Field Summary
 
Fields inherited from class polyglot.util.AbstractErrorQueue
errorCount, flushed, limit, name
 
Constructor Summary
SilentErrorQueue(int limit, java.lang.String name)
           
 
Method Summary
 void displayError(ErrorInfo e)
           
 java.util.List getErrors()
           
 
Methods inherited from class polyglot.util.AbstractErrorQueue
enqueue, enqueue, enqueue, errorCount, flush, hasErrors, tooManyErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilentErrorQueue

public SilentErrorQueue(int limit,
                        java.lang.String name)
Method Detail

displayError

public void displayError(ErrorInfo e)
Specified by:
displayError in class AbstractErrorQueue

getErrors

public java.util.List getErrors()