add exception class for reading xml files