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.