org.springframework.beans.factory.parsing
Class SimpleProblemCollector

java.lang.Object
  extended by org.springframework.beans.factory.parsing.SimpleProblemCollector
All Implemented Interfaces:
ProblemCollector

public class SimpleProblemCollector
extends Object
implements ProblemCollector

TODO SPR-7420: document

Since:
3.1
Author:
Chris Beams

Constructor Summary
SimpleProblemCollector(Object location)
           
 
Method Summary
 void error(String message)
           
 void error(String message, Throwable cause)
           
 boolean hasErrors()
           
 void reportProblems(ProblemReporter reporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleProblemCollector

public SimpleProblemCollector(Object location)
Method Detail

error

public void error(String message)
Specified by:
error in interface ProblemCollector

error

public void error(String message,
                  Throwable cause)
Specified by:
error in interface ProblemCollector

reportProblems

public void reportProblems(ProblemReporter reporter)
Specified by:
reportProblems in interface ProblemCollector

hasErrors

public boolean hasErrors()
Specified by:
hasErrors in interface ProblemCollector