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