Merged HEAD (5.2) to 5.2.N (5.2.1)

126509 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122792 jkaabimofrad: RA-676, RA-677, RA-678: 
          - Added check to return 404 response when the renditionId is registered but is not applicable for the node's mimeType.
          - Added check to return 400 when the source node has no content.
          - Changed the create rendition response to return an empty body.
          - Modified the exception when the renditionId is not registered.
          - Fixed the framework to include “errorKey” in the error response which was missing from some exceptions such as EntityNotFoundException.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126853 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ancuta Morarasu
2016-05-11 11:47:33 +00:00
parent f4be36dc55
commit 5fe5afaf0b
7 changed files with 269 additions and 40 deletions

View File

@@ -56,6 +56,7 @@ public class ApiException extends PlatformRuntimeException
public ApiException(String msgId, Object[] msgParams)
{
super(msgId, msgParams);
this.msgId = msgId;
}
public ApiException(String msgId, Throwable cause)