XMLReader xr = sp.getXMLReader();
xr.setContentHandler(uh);
xr.parse(pSource);
} catch (SAXException e) {
if (e.getException() != null) {
throw new UnmarshalException(e.getException());
} else {
throw new UnmarshalException(e);
}
} catch (IOException e) {
throw new UnmarshalException(e);
} catch (ParserConfigurationException e) {
throw new UnmarshalException(e);
}
return uh.getResult();
}