You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Pan, Julian (JIRA)" <ji...@apache.org> on 2018/03/21 07:46:00 UTC

[jira] [Created] (KYLIN-3308) Improvement exception in REST

Pan, Julian created KYLIN-3308:
----------------------------------

             Summary: Improvement exception in REST
                 Key: KYLIN-3308
                 URL: https://issues.apache.org/jira/browse/KYLIN-3308
             Project: Kylin
          Issue Type: Improvement
          Components: REST Service
            Reporter: Pan, Julian
            Assignee: Pan, Julian


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

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)