public abstract class AbstractParseErrorReporter extends AbstractErrorReporter implements ParseErrorReporter
errorImpl(String, int, String)
,
warning(String, int, String)
, and
infoImpl(String, int, String)
.Modifier and Type | Method and Description |
---|---|
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..
|
deleteMessages, getNumErrors, getNumInfos, getNumMessages, getNumWarnings
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteMessages, getNumErrors, getNumInfos, getNumMessages, getNumWarnings
public final void error(LocationReference loc, java.lang.String message)
ParseErrorReporter
error
in interface ParseErrorReporter
loc
- The location on which the warning is located.message
- the error messagepublic final void error(java.lang.String filename, int line, java.lang.String message)
ParseErrorReporter
error
in interface ParseErrorReporter
filename
- The file in which the error is located.line
- The line on which the error occured.message
- the error messagepublic final void warning(LocationReference loc, java.lang.String message)
ParseErrorReporter
warning
in interface ParseErrorReporter
loc
- The location on which the warning is located.message
- the warning messagepublic final void warning(java.lang.String filename, int line, java.lang.String message)
ParseErrorReporter
warning
in interface ParseErrorReporter
filename
- The file in which the warning is located.line
- The line on which the warning is located.message
- the warning messagepublic final void info(LocationReference loc, java.lang.String message)
ParseErrorReporter
info
in interface ParseErrorReporter
loc
- The location on which the information is located.message
- the information messagepublic final void info(java.lang.String filename, int line, java.lang.String message)
ParseErrorReporter
info
in interface ParseErrorReporter
filename
- The file in which the information is located.line
- The line on which the information is located.message
- the information message