Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1200

Enhance the Exception mechanism

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7-incubating, 0.8-incubating
    • 0.8-incubating
    • None
    • None

    Description

      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

      Attachments

        1. ATLAS-1200.patch
          60 kB
          Apoorv Naik

        Activity

          People

            apoorvnaik Apoorv Naik
            apoorvnaik Apoorv Naik
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: