Exceptions inheritance fixed