Class 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:
  • Field Details

    • 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')
  • Constructor Details

    • 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)