| Converts the given XStream exception to an appropriate exception from the org.springframework.oxm
hierarchy.
A boolean flag is used to indicate whether this exception occurs during marshalling or unmarshalling, since
XStream itself does not make this distinction in its exception hierarchy.
Parameters: ex - XStream exception that occured Parameters: marshalling - indicates whether the exception occurs during marshalling (true ), orunmarshalling (false ) the corresponding XmlMappingException |