def METHOD_NAME(self, msg_obj, response_status_code, response_text):
    if response_status_code != 200:
        raise StartEnterpriseBackendException("Received unexpected status code: %s" % response_status_code)
    if response_text in UNRETRYABLE_ERROR_MESSAGES:
        msg_obj.set_system_error(SMS.ERROR_TOO_MANY_UNSUCCESSFUL_ATTEMPTS)
        notify_exception(None, "Error with the Start Enterprise Backend: %s" % response_text)
    else:
        raise StartEnterpriseBackendException(
            "Unrecognized response from Start Enterprise gateway: %s" % response_text
        )