de.smartics.exceptions.report.data
Interface ExceptionCodesReport

Package class diagram package ExceptionCodesReport
All Known Subinterfaces:
StoredExceptionCodesReport
All Known Implementing Classes:
AbstractExceptionCodesReport, InMemoryExceptionCodesReport

public interface ExceptionCodesReport

Reports on exception codes.


Method Summary
 void add(ExceptionCodeReportItem code)
          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.
 boolean isEmpty()
          Checks if the report contains at least one item.
 

Method Detail

add

void add(ExceptionCodeReportItem code)
         throws NullPointerException
Adds the given code information as an item to the report.

Parameters:
code - the report item on the code to add.
Throws:
NullPointerException - if code is null.

addProblem

void addProblem(ReportProblem problem)
                throws NullPointerException
Reports a problem encountered while analyzing for report items.

Parameters:
problem - a description to the problem encountered.
Throws:
NullPointerException - if problem is null.

hasProblems

boolean hasProblems()
Checks if there are reported problems.

Returns:
true if at least one report problem is reported, false if there are none.

getProblems

List<ReportProblem> getProblems()
Returns the list of problems encountered while parsing sources and fetching report information.

Returns:
the list of problems encountered while parsing sources and fetching report information.

isEmpty

boolean isEmpty()
Checks if the report contains at least one item.

Returns:
true if the report contains at least one item, false otherwise.


Copyright © 2007-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.