def create_exception(self, code, message, stacks=None):
        if str(code) in self._exception_map:
            out = self._exception_map[str(code)](message)
        else:
            out = self._default(message)
# TEMPORARY: disable adding stacks here until JIRA OOIION-1093 fixed to avoid memory leak
#        if stacks:
#            for label, stack in stacks:
#                out.add_stack(label, stack)
        return out
Helper function that actually complete the order when the
dataset/ETHPy150Open ooici/pyon/pyon/core/exception.py/ExceptionFactory.create_exception--crossover with--dataset/ETHPy150Open thomasWajs/cartridge-external-payment/cartridge_external_payment/views.py/finalize_order