Class ErrorReporter
- java.lang.Object
-
- org.intocps.maestro.core.messages.ErrorReporter
-
- All Implemented Interfaces:
IErrorReporter
public class ErrorReporter extends Object implements IErrorReporter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.intocps.maestro.core.messages.IErrorReporter
IErrorReporter.SilentReporter
-
-
Constructor Summary
Constructors Constructor Description ErrorReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearErrors()voiddetail(String tag, Object obj)voiddetail2(String tag1, Object obj1, String tag2, Object obj2)intgetErrorCount()List<MableError>getErrors()intgetWarningCount()List<MableWarning>getWarnings()voidprintErrors(PrintWriter out)voidprintWarnings(PrintWriter out)voidreport(int number, String problem, LexToken location)voidsuppressErrors(boolean sup)StringtoString()voidwarning(int number, String problem, LexToken location)
-
-
-
Method Detail
-
suppressErrors
public void suppressErrors(boolean sup)
-
report
public void report(int number, String problem, LexToken location)- Specified by:
reportin interfaceIErrorReporter
-
warning
public void warning(int number, String problem, LexToken location)- Specified by:
warningin interfaceIErrorReporter
-
detail
public void detail(String tag, Object obj)
- Specified by:
detailin interfaceIErrorReporter
-
detail2
public void detail2(String tag1, Object obj1, String tag2, Object obj2)
- Specified by:
detail2in interfaceIErrorReporter
-
clearErrors
public void clearErrors()
-
getErrorCount
public int getErrorCount()
- Specified by:
getErrorCountin interfaceIErrorReporter
-
getWarningCount
public int getWarningCount()
- Specified by:
getWarningCountin interfaceIErrorReporter
-
getErrors
public List<MableError> getErrors()
- Specified by:
getErrorsin interfaceIErrorReporter
-
getWarnings
public List<MableWarning> getWarnings()
- Specified by:
getWarningsin interfaceIErrorReporter
-
printErrors
public void printErrors(PrintWriter out)
- Specified by:
printErrorsin interfaceIErrorReporter
-
printWarnings
public void printWarnings(PrintWriter out)
- Specified by:
printWarningsin interfaceIErrorReporter
-
-