def update_exception_handler(self, exc, action=stack.Stack.UPDATE, disable_rollback=False):
    tmpl = template.Template({'HeatTemplateFormatVersion': '2012-12-12', 'Resources': {'foo': {'Type': 'GenericResourceType'}}})
    self.stack = stack.Stack(utils.dummy_context(), 'test_stack', tmpl, disable_rollback=disable_rollback)
    self.stack.store()
    rb = self.stack._update_exception_handler(exc=exc, action=action)
    return rb
def update_exception_handler(self, exc, action=stack.Stack.UPDATE, disable_rollback=False):
    tmpl = template.Template({'HeatTemplateFormatVersion': '2012-12-12', 'Resources': {'foo': {'Type': 'GenericResourceType'}}})
    self.stack = stack.Stack(utils.dummy_context(), 'test_stack', tmpl, disable_rollback=disable_rollback)
    self.stack.store()
    rb = self.stack._update_exception_handler(exc=exc, action=action)
    return rb