added general exception cases