| java.lang.Object org.springframework.oxm.jibx.JibxUtils
JibxUtils | abstract public class JibxUtils (Code) | | Generic utility methods for working with JiBX. Mainly for internal use within the framework.
author: Arjen Poutsma since: 1.0.0 |
Method Summary | |
public static XmlMappingException | convertJibxException(JiBXException ex, boolean marshalling) Converts the given JiBXException to an appropriate exception from the
org.springframework.oxm hierarchy. |
convertJibxException | public static XmlMappingException convertJibxException(JiBXException ex, boolean marshalling)(Code) | | Converts the given JiBXException 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 JiBX
itself does not make this distinction in its exception hierarchy.
Parameters: ex - JiBXException that occured Parameters: marshalling - indicates whether the exception occurs during marshalling (true ), orunmarshalling (false ) the corresponding XmlMappingException |
|
|