Make sure not to swallow original exceptions on handling remote errors
* Also removed a custom initializer of SizeLimitExceededException with
3 parameters in favor of creating a static method because we
have to assume that all MistralException classes have an initializer
with only one parameter "message" to be able to restore an exception
on the RPC client which was raised on the RPC server.
Reviewed: https:/ /review. openstack. org/550399 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=3e042238886 e9a3640469423bb df241832233b7e
Committed: https:/
Submitter: Zuul
Branch: master
commit 3e042238886e9a3 640469423bbdf24 1832233b7e
Author: Renat Akhmerov <email address hidden>
Date: Wed Mar 7 15:48:41 2018 +0700
Make sure not to swallow original exceptions on handling remote errors
* Also removed a custom initializer of SizeLimitExceed edException with
3 parameters in favor of creating a static method because we
have to assume that all MistralException classes have an initializer
with only one parameter "message" to be able to restore an exception
on the RPC client which was raised on the RPC server.
Change-Id: Idd52bb7bb18168 826644d8aaca3d9 6be46f8ae9e
Closes-Bug: #1750752