added cause method to the HeaderTypesClassException