public interface XMLReporter
void report(String message, String errorType, Object relatedInformation, Location location) throws XMLStreamException
message
- 错误信息
errorType
- 实现定义的错误类型
relatedInformation
- 与错误相关的信息(如果有)
location
- 错误的位置(如果有)
XMLStreamException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.