Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.
Report the desired message in an application specific format.
Only warnings and non-fatal errors should be reported through
this interface.
Fatal errors should be thrown as XMLStreamException.
Parameters:
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