Implement checkExceptionInheritance
Modified checkExceptionInheritance to use structures list