]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Use the generic RequestLimitExceeded exception when possible
authorLiang Chen <cbjchen@cn.ibm.com>
Tue, 3 Sep 2013 06:35:07 +0000 (14:35 +0800)
committerLiang Chen <cbjchen@cn.ibm.com>
Fri, 13 Sep 2013 11:10:34 +0000 (19:10 +0800)
commit34e01f8c620326c8d9111aa08852ca57b669e369
treee8867d37197432cde0fafeddeb015de88bd26ce8
parent688a04ed999c679f3314cba1d9b1e40028160e79
Use the generic RequestLimitExceeded exception when possible

Rather than having lots of specific exceptions that all pertain to request
limitation, we can just use the RequestLimitExceeded exception when applicable,
which can also simplify the handling of exception mapping in fault.py.

Change-Id: I61b1e59912087fad286e74c22af15ffe6382bb65
heat/api/middleware/fault.py
heat/common/exception.py
heat/common/template_format.py
heat/engine/stack_resource.py
heat/tests/test_template_format.py