Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.3, 2.7.14, 3.1
-
None
-
Unknown
Description
The ability to configure custom event handlers to control the content of the marshal and unmarshal exceptions emitted from jaxb. Uses the existing ValidationEventHandler mechanism.
For Data Reader, if the ValidationEventHandler also implements UnmarshalEventHandler, will call the onUnmarshalComplete when unmarshalling finishes to enable throwing a custom UnmarshalException rather than relying on the default from jaxb.
For Data Writer, if the ValidationEventHandler also implements MarshalEventHandler, will call the onMarshalComplete when marshalling finishes to enable throwing a custom MarshalException rather than relying on the default from jaxb.