Exception handler library that determines requirements by parsing an XML file