Add code that results in four common exceptions