Exceptions example with a Stack class throwing two exeptions