Add a message to the thrown exception.