[
https://issues.apache.org/jira/browse/STRATOS-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850224#comment-13850224
]
Pradeep Fernando commented on STRATOS-304:
------------------------------------------
- defined an Exception mapper class to map RESTAPI exception to json error
message
- When throwing RESTAPIException one has to set correct http error codes. (eg.
server errors - 5xx, etc)
> Exception handling for REST API
> -------------------------------
>
> Key: STRATOS-304
> URL: https://issues.apache.org/jira/browse/STRATOS-304
> Project: Stratos
> Issue Type: Improvement
> Reporter: Pradeep Fernando
> Assignee: Pradeep Fernando
>
> Currently REST API resruns JSON responses when during happy path. We have to
> handle exceptional scenarios as well.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)