Raise a retry exception if under the max retries. After, raise the
        original_exception provided to this method or a generic Exception if
        none provided.

def raise_exception(self, original_exception=None):
        """Raise a retry exception if under the max retries. After, raise the
        original_exception provided to this method or a generic Exception if
        none provided.
        """
        if self._executed_retries < self._max_retries:
            curr_backoff = self._ms_backoff
            self._executed_retries += 1
            self._ms_backoff = self._ms_backoff * 2
            raise ActionRetryException(curr_backoff)
        else:
            raise original_exception or Exception()