public interface AnalysisErrorReporter extends ErrorReporter
Modifier and Type | Method and Description |
---|---|
void |
error(Element obj,
java.lang.String msg,
java.lang.String[] attrs,
java.lang.Object[] values)
Report an error on an AObject (AADL object model object).
|
void |
info(Element obj,
java.lang.String msg,
java.lang.String[] attrs,
java.lang.Object[] values)
Report an information message on an AObject (AADL object model object).
|
void |
warning(Element obj,
java.lang.String msg,
java.lang.String[] attrs,
java.lang.Object[] values)
Report a warning on an AObject (AADL object model object).
|
deleteMessages, getNumErrors, getNumInfos, getNumMessages, getNumWarnings
void error(Element obj, java.lang.String msg, java.lang.String[] attrs, java.lang.Object[] values)
obj
- the object to which the marker is pointingmsg
- the message as stringattrs
- attributes of the error to be setvalues
- the values to set the attributes to.java.lang.IllegalArgumentException
- Thrown if
(attrs == null) || (values == null) || (attrs.length != values.length)
.void warning(Element obj, java.lang.String msg, java.lang.String[] attrs, java.lang.Object[] values)
obj
- the object to which the marker is pointingmsg
- the message as stringattrs
- attributes of the error to be setvalues
- the values to set the attributes to.java.lang.IllegalArgumentException
- Thrown if
(attrs == null) || (values == null) || (attrs.length != values.length)
.void info(Element obj, java.lang.String msg, java.lang.String[] attrs, java.lang.Object[] values)
obj
- the object to which the marker is pointingmsg
- the message as stringattrs
- attributes of the error to be setvalues
- the values to set the attributes to.java.lang.IllegalArgumentException
- Thrown if
(attrs == null) || (values == null) || (attrs.length != values.length)
.