Receive notification of a validation warning or error.
The ValidationEvent will have a
ValidationEventLocator
embedded in it that
indicates where the error or warning occurred.
If an unchecked runtime exception is thrown from this method, the JAXB provider will treat it as if the method returned false and interrupt the current unmarshal, validate, or marshal operation.
event | the encapsulated validation event information. It is a provider error if this parameter is null. |
IllegalArgumentException | if the event object is null. |
Diagram: Events