Throw an exception in getMessagePayload() if the content type is not supported.