public interface XMLReporter
此接口用于报告非严重错误。只有警告才应该通过此接口再次报告。
| 方法摘要 | |
|---|---|
void |
report(String message, String errorType, Object relatedInformation, Location location) 以特定于应用程序的格式报告所需消息。 |
| 方法详细信息 |
|---|
void report(String message, String errorType, Object relatedInformation, Location location) throws XMLStreamException
message - 错误消息
errorType - 一个定义错误类型的实现
relatedInformation - 与错误相关的信息(如果可用)
location - 错误的位置(如果可用)
XMLStreamException