handle all bad statuses with exceptions