public abstract class ODataHttpException extends ODataMessageException
ODataMessageException
with a HTTP status code.Modifier and Type | Field and Description |
---|---|
static MessageReference |
COMMON |
protected HttpStatusCodes |
httpStatus |
errorCode, messageReference
Constructor and Description |
---|
ODataHttpException(MessageReference messageReference,
HttpStatusCodes httpStatus) |
ODataHttpException(MessageReference messageReference,
HttpStatusCodes httpStatus,
String errorCode) |
ODataHttpException(MessageReference messageReference,
Throwable cause,
HttpStatusCodes httpStatus) |
ODataHttpException(MessageReference messageReference,
Throwable cause,
HttpStatusCodes httpStatus,
String errorCode) |
Modifier and Type | Method and Description |
---|---|
HttpStatusCodes |
getHttpStatus() |
createMessageReference, getErrorCode, getMessage, getMessageReference
getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected final HttpStatusCodes httpStatus
public static final MessageReference COMMON
public ODataHttpException(MessageReference messageReference, HttpStatusCodes httpStatus)
public ODataHttpException(MessageReference messageReference, HttpStatusCodes httpStatus, String errorCode)
public ODataHttpException(MessageReference messageReference, Throwable cause, HttpStatusCodes httpStatus)
public ODataHttpException(MessageReference messageReference, Throwable cause, HttpStatusCodes httpStatus, String errorCode)
public HttpStatusCodes getHttpStatus()
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.