|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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.ODataNotAcceptableException
public class ODataNotAcceptableException
Exceptions of this class will result in a HTTP status 406 not acceptable
| Field Summary | |
|---|---|
static MessageReference |
COMMON
|
static MessageReference |
NOT_SUPPORTED_ACCEPT_HEADER
|
static MessageReference |
NOT_SUPPORTED_CONTENT_TYPE
|
| Fields inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException |
|---|
httpStatus |
| Fields inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException |
|---|
errorCode, messageReference |
| Constructor Summary | |
|---|---|
ODataNotAcceptableException(MessageReference context)
|
|
ODataNotAcceptableException(MessageReference context,
String errorCode)
|
|
ODataNotAcceptableException(MessageReference context,
Throwable cause)
|
|
ODataNotAcceptableException(MessageReference context,
Throwable cause,
String errorCode)
|
|
| Method Summary |
|---|
| Methods inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException |
|---|
getHttpStatus |
| Methods inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException |
|---|
createMessageReference, getErrorCode, getMessage, getMessageReference |
| Methods inherited from class org.apache.olingo.odata2.api.exception.ODataException |
|---|
getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final MessageReference COMMON
public static final MessageReference NOT_SUPPORTED_CONTENT_TYPE
public static final MessageReference NOT_SUPPORTED_ACCEPT_HEADER
| Constructor Detail |
|---|
public ODataNotAcceptableException(MessageReference context)
public ODataNotAcceptableException(MessageReference context,
Throwable cause)
public ODataNotAcceptableException(MessageReference context,
String errorCode)
public ODataNotAcceptableException(MessageReference context,
Throwable cause,
String errorCode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||