public interface XMLReporter
void report(String message, String errorType, Object relatedInformation, Location location) throws XMLStreamException
message- the error message
errorType- an implementation defined error type
relatedInformation- information related to the error, if available
location- the location of the error, if available
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, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.