Added exception throw when given XmlElement could not be parsed and hydrated.