Propagates proper exception based on status code of response from REST API.

Signed-off-by: Ashfaqul Haque <ashfaqul.haque@iese.fraunhofer.de>
Change-Id: I4f435eb8b0f43bc782cc956de120a83bd8eb0ab6
1 file changed