Changed exception system. No longer a hierarchy of classes.