public class ODataUnsupportedMediaTypeException extends ODataHttpException
| Modifier and Type | Field and Description |
|---|---|
static MessageReference |
NOT_SUPPORTED
NOT_SUPPORTED requires 1 content value ('media type')
|
static MessageReference |
NOT_SUPPORTED_ACCEPT_HEADER
NOT_SUPPORTED_ACCEPT_HEADER requires 1 content value ('media type')
|
static MessageReference |
NOT_SUPPORTED_CONTENT_TYPE
NOT_SUPPORTED_CONTENT_TYPE requires 1 content value ('media type')
|
COMMON, httpStatuserrorCode, messageReference| Constructor and Description |
|---|
ODataUnsupportedMediaTypeException(MessageReference context) |
ODataUnsupportedMediaTypeException(MessageReference context,
String errorCode) |
ODataUnsupportedMediaTypeException(MessageReference context,
Throwable cause) |
ODataUnsupportedMediaTypeException(MessageReference context,
Throwable cause,
String errorCode) |
getHttpStatuscreateMessageReference, getErrorCode, getMessage, getMessageReferencegetApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final MessageReference NOT_SUPPORTED
public static final MessageReference NOT_SUPPORTED_CONTENT_TYPE
public static final MessageReference NOT_SUPPORTED_ACCEPT_HEADER
public ODataUnsupportedMediaTypeException(MessageReference context)
public ODataUnsupportedMediaTypeException(MessageReference context, Throwable cause)
public ODataUnsupportedMediaTypeException(MessageReference context, String errorCode)
public ODataUnsupportedMediaTypeException(MessageReference context, Throwable cause, String errorCode)
Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.