Worked a bit on handling exceptions and a hierarchy of them.