|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.report.data.AbstractExceptionCodesReport
@NotThreadSafe public abstract class AbstractExceptionCodesReport
Base implementation of an exception codes report that stores all items and reported problems in-memory.
Constructor Summary | |
---|---|
protected |
AbstractExceptionCodesReport() Default constructor. |
Method Summary | |
---|---|
void |
add(ExceptionCodeReportItem item) Adds the given code information as an item to the report. |
void |
addProblem(ReportProblem problem) Reports a problem encountered while analyzing for report items. |
List<ReportProblem> |
getProblems() Returns the list of problems encountered while parsing sources and fetching report information. |
boolean |
hasProblems() Checks if there are reported problems. |
protected void |
register(ExceptionCodeReportItem item) Registers a report item to check for uniqueness constraint violations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.smartics.exceptions.report.data.ExceptionCodesReport |
---|
isEmpty |
Constructor Detail |
---|
protected AbstractExceptionCodesReport()
Method Detail |
---|
public final List<ReportProblem> getProblems()
getProblems
in interface
ExceptionCodesReport
de.smartics.properties.report.data.PropertyReport#getProblems()
public final void addProblem(ReportProblem problem)
ExceptionCodesReport
addProblem
in interface
ExceptionCodesReport
problem
- a description to the problem encountered.
public final boolean hasProblems()
hasProblems
in interface
ExceptionCodesReport
true
if at least one report problem is reported,
false
if there are none.
de.smartics.properties.report.data.PropertyReport#hasProblems()
public void add(ExceptionCodeReportItem item) throws ReportException
Registers a report item to manage the alias mapping and check for uniqueness constraint violations.
add
in interface
ExceptionCodesReport
item
- the report item on the code to add.
ReportException
de.smartics.properties.report.data.PropertyReport#handle(de.smartics.properties.report.data.PropertyReportItem)
protected final void register(ExceptionCodeReportItem item)
item
- the report item to manage.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |