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

Improvement exception in REST

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • REST Service
    • 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

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

            Dates

              Created:
              Updated: