org.apache.olingo.odata2.api.exception
Class ODataUnsupportedMediaTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.olingo.odata2.api.exception.ODataException
org.apache.olingo.odata2.api.exception.ODataMessageException
org.apache.olingo.odata2.api.exception.ODataHttpException
org.apache.olingo.odata2.api.exception.ODataUnsupportedMediaTypeException
- All Implemented Interfaces:
- Serializable
public class ODataUnsupportedMediaTypeException
- extends ODataHttpException
Exceptions of this class will result in a HTTP status 415 unsupported media type
- See Also:
- Serialized Form
NOT_SUPPORTED
public static final MessageReference NOT_SUPPORTED
- NOT_SUPPORTED requires 1 content value ('media type')
NOT_SUPPORTED_CONTENT_TYPE
public static final MessageReference NOT_SUPPORTED_CONTENT_TYPE
- NOT_SUPPORTED_CONTENT_TYPE requires 1 content value ('media type')
NOT_SUPPORTED_ACCEPT_HEADER
public static final MessageReference NOT_SUPPORTED_ACCEPT_HEADER
- NOT_SUPPORTED_ACCEPT_HEADER requires 1 content value ('media type')
ODataUnsupportedMediaTypeException
public ODataUnsupportedMediaTypeException(MessageReference context)
ODataUnsupportedMediaTypeException
public ODataUnsupportedMediaTypeException(MessageReference context,
Throwable cause)
ODataUnsupportedMediaTypeException
public ODataUnsupportedMediaTypeException(MessageReference context,
String errorCode)
ODataUnsupportedMediaTypeException
public ODataUnsupportedMediaTypeException(MessageReference context,
Throwable cause,
String errorCode)
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.