set HttpStatusCode by Exception type in controller