17.2.3XmlMappingException

Spring converts exceptions from the underlying O/X mapping tool to its own exception hierarchy with theXmlMappingExceptionas the root exception. As can be expected, these runtime exceptions wrap the original exception so no information will be lost.

Additionally, theMarshallingFailureExceptionandUnmarshallingFailureExceptionprovide a distinction between marshalling and unmarshalling operations, even though the underlying O/X mapping tool does not do so.

The O/X Mapping exception hierarchy is shown in the following figure:

O/X Mapping exception hierarchy

results matching ""

    No results matching ""