Class ErrorReporter
- java.lang.Object
-
- org.intocps.maestro.core.messages.ErrorReporter
-
- All Implemented Interfaces:
IErrorReporter
public class ErrorReporter extends java.lang.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(java.lang.String tag, java.lang.Object obj)voiddetail2(java.lang.String tag1, java.lang.Object obj1, java.lang.String tag2, java.lang.Object obj2)intgetErrorCount()java.util.List<MableError>getErrors()intgetWarningCount()java.util.List<MableWarning>getWarnings()voidprintErrors(java.io.PrintWriter out)voidprintWarnings(java.io.PrintWriter out)voidreport(int number, java.lang.String problem, org.intocps.maestro.ast.LexToken location)voidsuppressErrors(boolean sup)java.lang.StringtoString()voidwarning(int number, java.lang.String problem, org.intocps.maestro.ast.LexToken location)
-
-
-
Method Detail
-
suppressErrors
public void suppressErrors(boolean sup)
-
report
public void report(int number, java.lang.String problem, org.intocps.maestro.ast.LexToken location)- Specified by:
reportin interfaceIErrorReporter
-
warning
public void warning(int number, java.lang.String problem, org.intocps.maestro.ast.LexToken location)- Specified by:
warningin interfaceIErrorReporter
-
detail
public void detail(java.lang.String tag, java.lang.Object obj)- Specified by:
detailin interfaceIErrorReporter
-
detail2
public void detail2(java.lang.String tag1, java.lang.Object obj1, java.lang.String tag2, java.lang.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 java.util.List<MableError> getErrors()
- Specified by:
getErrorsin interfaceIErrorReporter
-
getWarnings
public java.util.List<MableWarning> getWarnings()
- Specified by:
getWarningsin interfaceIErrorReporter
-
printErrors
public void printErrors(java.io.PrintWriter out)
- Specified by:
printErrorsin interfaceIErrorReporter
-
printWarnings
public void printWarnings(java.io.PrintWriter out)
- Specified by:
printWarningsin interfaceIErrorReporter
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-