Put the status code in the exception messages.