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

126482 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122590 jkaabimofrad: RA-841: Fixed the status code for the large file upload. Also, added a new exception with 507 status code to be thrown, when "ContentQuotaException" occurs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ancuta Morarasu
2016-05-11 11:38:01 +00:00
parent fbe19dfc15
commit 66e21fc302
5 changed files with 71 additions and 2 deletions

View File

@@ -0,0 +1,45 @@
/*
* Copyright (C) 2005-2016 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
package org.alfresco.rest.framework.core.exceptions;
/**
* @author Jamal Kaabi-Mofrad
*/
public class InsufficientStorageException extends ApiException
{
private static final long serialVersionUID = 4188371184446611887L;
private static final String DEFAULT_MESSAGE_ID = "framework.exception.InsufficientStorage";
public InsufficientStorageException()
{
super(DEFAULT_MESSAGE_ID);
}
public InsufficientStorageException(String msgId)
{
super(msgId);
}
public InsufficientStorageException(String msgId, Object[] msgParams)
{
super(msgId, msgParams);
}
}