javax.xml.stream
public interface XMLReporter
void report(String message, String errorType, Object relatedInformation, Location location) throws XMLStreamException
message
- the error messageerrorType
- an implementation-specific error typerelatedInformation
- additional information, if anylocation
- the error location, if availableXMLStreamException