Added status code to http exception