Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)

124207 jvonka: RA-893: Fix "Multi-part update content appears to work but doesn't" - throw 415


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 11:27:49 +00:00
parent 114c591c55
commit 77d48bae9e
4 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package org.alfresco.rest.framework.core.exceptions;
/**
* The media type is unsupported.
*
* @author janv
*/
public class UnsupportedMediaTypeException extends ApiException
{
public static String DEFAULT_MESSAGE_ID = "framework.exception.UnsupportedMediaType";
public UnsupportedMediaTypeException()
{
super(DEFAULT_MESSAGE_ID);
}
public UnsupportedMediaTypeException(String msgId)
{
super(msgId);
}
public UnsupportedMediaTypeException(String msgId, Object[] msgParams)
{
super(msgId, msgParams);
}
}