Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3308

Improvement exception in REST

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST Service
    • Labels:
      None

      Description

      There are kinds of exception throw by rest call, and we need better defined the exception. 

      For example:

      1> There are three types of exception for cube equals null in CubeController:

      NotFoundException (deleteCube)

      InternalErrorException(getCube)

      BadRequestException (cloneCube)

      2> And sometimes InternalErrorException will warp the BadRequestException in CubeController.saveCubeDesc

       

        Attachments

          Activity

            People

            • Assignee:
              julianpan Julian Pan
              Reporter:
              julianpan Julian Pan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: