Hi Lahiru,
On Sun, May 10, 2015 at 8:56 PM, Lahiru Sandaruwan <lahi...@wso2.com> wrote:

> So what we need to do at Stratos Rest API(The API we have now), is to
> catch the status code and message from CC Rest API and send both, as they
> are, to end user. No String comparison required.
>

Wouldn't there be inter-component communication that needs to make
decisions based on the response? For example AS makes calls to CC and
decides what to do based on the exception type?

Anyways, we are already doing String comparisons because of the initial
issue of custom exceptions not being passed to the client. I'm sure we will
be able to circumvent this problem at the time of service design.


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com

Reply via email to