|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParseErrorReporter
Interface defining the abstract operations required to report errors during
the parsing and interpretation of an AADL text file. Meant to be used during
the creation of an AAXL object model from an AADL text file. There are no
methods in this interface that are appropriate for reporting errors on an
object model; for that use
edu.cmu.sei.aadl.model.pluginsupport.AnalysisErrorReporter
.
In general, objects of classes that implement this interface are meant to be
obtained using implementations of
edu.cmu.sei.aadl.model.pluginsupport.ParseErrorReporterFactory
.
edu.cmu.sei.aadl.model.pluginsupport.ParseErrorReporterFactory
,
edu.cmu.sei.aadl.model.pluginsupport.ParseErrorReporterManager
Method Summary | |
---|---|
void |
error(LocationReference loc,
java.lang.String message)
Report an error. |
void |
error(java.lang.String filename,
int line,
java.lang.String message)
Report an error. |
void |
info(LocationReference loc,
java.lang.String message)
Report information about an AADL text file. |
void |
info(java.lang.String filename,
int line,
java.lang.String message)
Report information about an AADL text file.. |
void |
warning(LocationReference loc,
java.lang.String message)
Report a warning about an AADL text file. |
void |
warning(java.lang.String filename,
int line,
java.lang.String message)
Report a warning about an AADL text file.. |
Methods inherited from interface edu.cmu.sei.aadl.modelsupport.errorreporting.ErrorReporter |
---|
deleteMessages, getNumErrors, getNumInfos, getNumMessages, getNumWarnings |
Method Detail |
---|
void error(LocationReference loc, java.lang.String message)
loc
- The location on which the warning is located.message
- the error messagevoid error(java.lang.String filename, int line, java.lang.String message)
filename
- The file in which the error is located.line
- The line on which the error occured.message
- the error messagevoid warning(LocationReference loc, java.lang.String message)
loc
- The location on which the warning is located.message
- the warning messagevoid warning(java.lang.String filename, int line, java.lang.String message)
filename
- The file in which the warning is located.line
- The line on which the warning is located.message
- the warning messagevoid info(LocationReference loc, java.lang.String message)
loc
- The location on which the information is located.message
- the information messagevoid info(java.lang.String filename, int line, java.lang.String message)
filename
- The file in which the information is located.line
- The line on which the information is located.message
- the information message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |