style of creating exceptions