Class ODataBadRequestException
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.ODataBadRequestException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExpressionParserException,UriSyntaxException
Exceptions of this class will result in a HTTP status 400 bad request
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferenceINVALID_HEADER requires 2 content values ('header key' and 'header value')static final MessageReferenceINVALID_REQUEST requires NO content valuesstatic final MessageReferenceINVALID_SYNTAX requires NO content valuesstatic final MessageReferencestatic final MessageReferencestatic final MessageReferencestatic final MessageReferenceFields inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException
httpStatusFields inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
errorCode, messageReference -
Constructor Summary
ConstructorsConstructorDescriptionODataBadRequestException(MessageReference messageReference) ODataBadRequestException(MessageReference messageReference, String errorCode) ODataBadRequestException(MessageReference messageReference, Throwable cause) ODataBadRequestException(MessageReference messageReference, Throwable cause, String errorCode) -
Method Summary
Methods inherited from class org.apache.olingo.odata2.api.exception.ODataHttpException
getHttpStatusMethods inherited from class org.apache.olingo.odata2.api.exception.ODataMessageException
createMessageReference, getErrorCode, getMessage, getMessageReferenceMethods inherited from class org.apache.olingo.odata2.api.exception.ODataException
getApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
COMMON
-
NOTSUPPORTED
-
URLTOOSHORT
-
VERSIONERROR
-
PARSEVERSIONERROR
-
BODY
-
AMBIGUOUS_XMETHOD
-
INVALID_HEADER
INVALID_HEADER requires 2 content values ('header key' and 'header value') -
INVALID_SYNTAX
INVALID_SYNTAX requires NO content values -
INVALID_REQUEST
INVALID_REQUEST requires NO content values
-
-
Constructor Details
-
ODataBadRequestException
-
ODataBadRequestException
-
ODataBadRequestException
-
ODataBadRequestException
public ODataBadRequestException(MessageReference messageReference, Throwable cause, String errorCode)
-