[ https://issues.apache.org/jira/browse/ATLAS-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apoorv Naik closed ATLAS-1200. ------------------------------ > Enhance the Exception mechanism > ------------------------------- > > Key: ATLAS-1200 > URL: https://issues.apache.org/jira/browse/ATLAS-1200 > Project: Atlas > Issue Type: Improvement > Affects Versions: 0.7-incubating, 0.8-incubating > Reporter: Apoorv Naik > Assignee: Apoorv Naik > Fix For: 0.8-incubating > > Attachments: ATLAS-1200.patch > > > Currently the error/exception messages are hand constructed all over the > Atlas code base, making it hard to understand the origin of the problem. Also > since Atlas is moving towards a more RESTful nature it's better to create a > catalog for the error message with support for localization > Proposal: > Format: > internal_error_code=external_error_code|error_description > internal_error_code_status=http_status_code > e.g. > entity_not_found=entity_not_found|Given entity doesn't exist > entity_not_found_status=404 -- This message was sent by Atlassian JIRA (v6.3.4#6332)