While this is useful when this is actually set (often it will not be), if we are sending a HttpException directly then we should be using the value on the exception we are processing in preference to this value.