catch some status code exceptions