public interface MessageReporter
Modifier and Type | Method and Description |
---|---|
void |
error(XMLLocator locator,
java.lang.String message,
java.lang.Throwable exception)
Report a (human readable) error encountered while parsing an XML file.
|
void |
information(XMLLocator locator,
java.lang.String message)
Report a (human readable) information encountered while parsing an XML file.
|
void |
severe(XMLLocator locator,
java.lang.String message,
java.lang.Throwable exception)
Report a (human readable) severe encountered while parsing an XML file.
|
void |
warning(XMLLocator locator,
java.lang.String message)
Report a (human readable) warning encountered while parsing an XML file.
|
void severe(XMLLocator locator, java.lang.String message, java.lang.Throwable exception)
locator
- a locator for the file being parsed.message
- the message to report to the user.exception
- an exception that caused this error. May be null.void error(XMLLocator locator, java.lang.String message, java.lang.Throwable exception)
locator
- a locator for the file being parsed.message
- the message to report to the user.exception
- an exception that caused this error. May be null.void warning(XMLLocator locator, java.lang.String message)
locator
- a locator for the XML file being parsed.code
- a warning code.message
- the message to report to the user.void information(XMLLocator locator, java.lang.String message)
locator
- a locator for the XML file being parsed.message
- the message to report to the user.